If you need to handle workflows (start, stop, route, etc.) from an automation script you can use the following two Maximo API classes: WorkFlowService and WFInstance. Here are few examples. The WorkFlowService.initiateWorkflow metod can be used to start a workflow: To stop an active workflow you can use WFInstance.stopWorkflow method: To route a workflow I […]
How to improve View Workflow History dialog
One of the frequent complaints from Maximo clients is the scarce user-friendliness of the View Workflow History dialog. Here is the same dialog after few changes. Clutter information is removed and is now clear the sequence of actions taken by the user. Before you start you have to open the Application Designer and click on […]
Route Workflow error in cloned applications
Maximo Everyplace is the quick way-to-go to provide access to mobile devices for IBM Maximo. It is basically a slightly changed look and feel of the standard web interface with a dedicated start center that is automatically displayed when logging from a mobile web browser. Obviously it works only in online mode but is straightforward […]
Search for specific workflow actions
Sometime you have a complex workflow with many nodes. In these situations is not always easy to troubleshoot an issue or to modify the workflow for a changing business need. For example we may have several nodes in the workflow setting the work order status to CANC. We know that we use the WO CANC […]
How to launch Workflow
Today I want to show you all the possible ways (as far as I know) of starting a workflow in Maximo. Interactive initiate This is the most basic way of automatically start a workflow when an object is created through the user interface. This technique will not work for objects created by MIF, workflows or […]
Automatically stop workflow on closed work orders
When using a workflow to drive the status changes of an object in Maximo you shouldn’t allow the users to change the status directly through the ‘Change Status’ action. This could be easily done removing the ‘Change Status’ sigoption from relevant users groups.When users have both options enabled, it may happen that a closed work […]
Translate workflow messages and labels
Translated messages and labels are not enabled by default on Maximo workflows. This means that if you have a multilanguage environment all the users will see the same task descriptions interaction messages when using workflows.To be able to insert translated labels and messages for workflows you have to enable the multi-language option for the following […]
Find Roles with assignments in a Workflow
Roles in Maximo are used to represent a specific person or a group of people that can be used in workflows, communication templates and escalations. If you need to find which roles are used in a specific workflow you can use an SQL query like this. SELECT wfnode.title, wfnode.description, wfa.roleid, r.descriptionFROM wfnodeJOIN wfassignment wfa ON […]
Is an Object in a workflow?
This entry is part of the Conditional Expressions HowTo. If you need to make a field or an object readonly if it has an active and running workflow you are in right place!All you need is a conditional expression that can be used in conditional UI or data restriction.The following conditional expression evaluate to true […]
How to test workflows notifications and emails
Today I want to share with you all a very efficient technique that I use to test email notifications and communication templates in workflows. The technique is based on a very lightweight dummy SMTP server called smtp4dev that can run on any Windows system. This small application sits in the system tray and does not […]