Search This Blog

Monday, June 19, 2023

MAXIMO : Automation Script to Route Workflow

Workflow is key feature in IBM Maximo for automating business processes like Workroder lifecycle , Purchase Order cycle etc. 

There are many situations where it would need to trigger specific Workflow process if there are multiple active processes on object as only one process can be enabled for auto initiation. 

Below I will discuss few methods how we can achieve specific workflow process using Automation Scripts : 

 *****WorkFlowService class***** 
 Here in this approach a workflow needing to route with a certain business logic:
***** ScriptService class***** 

 Another approach is to utilize ScriptServiceclass:
Additionally to stop a Workflow Instance: 

We can stop an active workflow instance using WorkFlowService class and its method stopWorkflow.

No comments: