Sometimes you may need to start a workflow automatically but the standard functionality of escalation is not satisfying the needs of business logic.
For such situations you can use a cron task to search the records and system service WorkFlowService to start a workflow.
For instance, we need to start a workflow (process name PMWF) for periodical maintenance record (custom mbo PMCUST) when there comes a time specified in PLANNEDYEAR, PLANNEDWEEK attributes.
Here is an example of the cron task:
If you need to stop a workflow in java code, first you should get the workflow instance.
...
More
Tools
Useful tools
How to create a REAL multi select data bean in Maximo
![](https://i0.wp.com/maximoaddons.com/wp-content/uploads/2015/04/2015-04-16_095608.png?resize=150%2C150)
There is a multi select data bean (psdi.webclient.system.beans.MultiselectDataBean) exists in Maximo. It is actually used everywhere where you expected to select multiple rows from a list. However, the way it is implemented sometimes make users surprised. The most obvious problem that users complain about - is that whenever a filter is applied to the list - all currently existing selections in the dialog are lost:
I understand, that per maximo design, setting a filter for the list forces reset of the current MboSet, so the existing selection cannot be kept. So, when users want to add e....
More
Perl script to observe MBO usage statistics
![](https://i0.wp.com/maximoaddons.com/wp-content/uploads/2015/03/MboSetStat.gif?resize=150%2C150)
I think that almost everyone who work with TPAE based products have to deal with SystemOut.log files and could observe MBO usage statistics being logged every minute. I mean the lines like that:
…
[INFO] [MXServer] [] PLUSPAPPLLOC: mbosets (14), mbos (14)
[INFO] [MXServer] [] PLUSPAPPLSERV: mbosets (5), mbos (8)
[INFO] [MXServer] [] PLUSPBATCHSTHIST: mbosets (1), mbos (1)
…
There is a Perl script that parses SystemOut.log files, fetches the lines like above and generates graphs that displays MBO/MBOSET allocation statistics. Simply run the mbouse.pl against a directory with a set...
More