Tuesday, March 10, 2015

Set PMNUM in Child Task Work orders - Maximo 7.5.0.4+

Maximo PM work order generation process does not set the PMNUM attribute for its tasks nor any of the child Work orders created by Route/Nested Job Plan. 

We are therefore not able to use PMNUM to crossover values from PM to all levels of work orders the PM generated.
But, PMs can have routes and a job plan, and routes can have route-stops, and job plans can have nested job plans, etc.

To be able to crossover values from PM attributes all the way down to PM generated work order hierarchies, Maximo has a special, non persistent attribute called NewTaskParentPMNum which is associated with WORKORDER and it’s views WOACTIVITY, WOCHANGE and WORELEASE.

This attribute is set to PMNUM on all work orders generated by PM.

Solution:
1. Create a new cross over domain similar to PM2WO and set the condition as  "pmnum=:NewTaskParentPMNum  and siteid=:siteid and orgid=:orgid”.
Map PM.PMNUM to WORKORDER.PM in this domain.
2. Attach it to attribute WORKORDER.NEWTASKPARENTPMNUM
3. When child task workorders are generated by PM, it will set PMNUM from the parent PM

An extract from below link:
https://goo.gl/Tuvk6U

Wednesday, January 21, 2015

Configure tibco jms bus in Websphere for Maximo application


Configure Tibco as JMS provider:
Create JMS provider:
  1. In Websphere, create a new Tibco provider tibjmsbus
  2. Classpath field: Copy the tibco jar files from TIBCO server to the machine where Websphere is installed.
  3. External initial context factory: com.tibco.tibjms.naming.TibjmsInitialContextFactory
  4. External provider URL: tibjmsnaming://HOST:PORT (e.g. tibjmsnaming://localhost:7222) – refer the real time in the below screen shot.
  5. Under Additional properties, click on custom properties:
            java.naming.security.principal – a name of a the user used to connect to Tibco
            java.naming.security.credentials – a password of the user used to connect to Tibco



Create connection factory
Within Tibco JMS provider create a new queue connection factory specifying the following:
  • Name:   QueueConnectionFactory (default queue connection factory in Tibco) . We can modify as per our wish.
  • JNDI name – local name to be used on WebSphere server (e.g. QueueConnectionFactory)
  • External JNDI name – external JNDI name on Tibco server from a container-managed authentication alias drop-down select the newly created in the previous step tibcoUser alias. (e.g. jms/tibcoQCF).  
Create authentication alias
Create a new authentication alias (eg: tibcoUser) providing a user name and password to be used while connecting to a connection factory.




Create queue
Within Tibco JMS provider create a new queue providing the following:
  • Name:
MY_QUEUE, by default. You can give any name. TibocInbound or TibcoOutbound – sample names.
  • JNDI name – local name to be used on WebSphere server. This name will be referred in Maximo External system application.
External JNDI name – external JNDI name on Tibco server. It should be obtained from Middleware tibco team. 


Maximo:

TIBCO Buses can be configured as End point or Queue.