IBM Support

Automation Scripts to fire from the List tab

Troubleshooting


Problem

Information on how to have automation scripts firing from List tab in Maximo apps

Symptom

You may need to have automation scripts to work from List tab even if no records are listed in some specific application.

In Maximo 7.5, 7.6, when you create an automation script (for example : an action point automation script) you will notice that it does not fire from list screen if no records are selected.

In this example, the script is associated with a select action menu item available on the List Tab only.

The automation script calls a stored procedure from the database. If the select action menu item is selected when there are no records on the list screen the automation script does not fire.

If there are records selected, then the script will fire and call the stored procedure.

Resolving The Problem

The only way to call the script when there are no records selected on the List tab - is to write a UI bean - which defeats the purpose of the script (ie no java code). So currently the default query approach seems to be the only viable option in this current scenario.

You will have to create default queries for all apps that have these automation scripts so that users are able to execute them. This would be a customization.

[{"Product":{"code":"SSLKT6","label":"IBM Maximo Asset Management"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"System Related","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5;7.6","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
21 February 2020

UID

swg21986587