Maximo

 View Only

 Automation Script won't launch

BRIAN BULLA's profile image
BRIAN BULLA posted Fri March 27, 2026 02:26 PM

Hi,

I'm working on an enhacement to our cloned Work Order Tracking application.  What I want to do is add a new menu item, and when the user clicks on it a script runs.

So far I have created a Sig Option in the app, added a new menu item to the app, and adjusted the security group settings.  With this, I can see the new menu item in the app.

Then I created the automation script.  I just started with something simple, to make sure I have everything connected.  A "Hello" message in a dialog.

service.error("SPP", "HELLO")

When I test the script in Automation Scripts, all is good.  But when I click on the menu item in the WO Tracking application, nothing happens.  The screen refreshes (ie. i see the blue circle spin for a moment), but the message never displays.

I've read through lots of online documents, and I seem to have everything in place, but maybe there is something I am missing.

My automation script is an Action Script....the launch point seems to be connected to the menu item ok....I'm running out of ideas and things to look for.

Any help/guidance is appreciated.

Thanks....here are the exact steps I have taken thus far....

1.      In Application Designer, modify the PLUSTWO application

a.      Go to Add/Modify Signature Options

b.      Add a new option with these settings:

A screenshot of a computer

AI-generated content may be incorrect.

c.      Go to Add/Modify Select Action Menu

d.      Add a new Menu item with these settings (modify Position value as required):

A screenshot of a computer

AI-generated content may be incorrect.

2.      In Security Groups, add permissions to the required group/groups to access the new action.

a.      Select the group

b.      Go to Applications tab

c.      Filter/Select for Work Order Tracking (Tr)

d.      Check the “Grant Access” box for Copy Asset to all Work Order Tasks

e.      Save the new settings

f.        ***  To see the changes you must logout/in at this point ***

3.      In Automation Scripts, create a Script with Action Launch Point

a.      Step 1 settings

A screenshot of a computer

AI-generated content may be incorrect.

b.      Step 2 settings

A screenshot of a computer

AI-generated content may be incorrect.

c.      Add the script code and click Create

A screenshot of a computer

AI-generated content may be incorrect.