UI interaction with dialogs
As part of the Maximo 7.6.1.0 release, the Automation Script framework was enhanced to support interacting with the classic Maximo UI. This was useful when the dialog called an automation script action because you could now close the dialog after invoking your logic. In previous releases, you had to train your user to click another button to close the dialog because the button could only invoke one action. For example, it could not call the script and dialog.
Utilizing the following service variable, you can close a dialog from an Action launch point Automation Script by calling:
service.closeDialog()
This was enhanced in Maximo 7.6.1.1 to support launching a dialog from an Action launch point Automation Script by calling the following function:
service.launchDialog("dialogid")