IBM Support

When multiple Maximo Automation Scripts are running, they execute in random order

Question & Answer


Question

Why do multiple running Maximo Automation Scriptsexecute in random order?

Answer

In a system as complex as MAXIMO, many a times it will be a case where multiple scripts would be running on clicking a single ‘Save’ button.
As an example, a person in charge of creating WORKORDER may also create work order tasks (WOACTIVITY), work order labors (WPLABOR) and work order materials (WPMATERIAL). As you go on reading about the scripting framework you will discover,  one has to tie individual Object Launch Point Scripts on all these objects to do custom validations before saving them. So as it can be observed, your ‘SAVE’ code would be scattered across multiple scripts here (one per object per set).

Currently, the order of execution is ‘random’ and is working as designed.

[{"Product":{"code":"SSLKT6","label":"IBM Maximo Asset Management"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"--","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"7.5;7.6","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
17 June 2018

UID

swg21979332