Wednesday, 14 December 2016

Push Button to Call Action Script | IBM Maximo

1ActionScript:
ACTION LP: PTWBUTTON
Language: jython
Object: PLUSGPERMITWORK
Action: PTWBUTTON (it will create an action automatically in Actions application, see belowin step 2)
Source: our code goes here

2Action:
NAME: PTWBUTTON
OBJECT: PLUSGPERMITWORK
TYPE: Custom Class
Value: com.ibm.tivoli.maximo.script.ScriptAction
Parameter: PTWBUTTON (automation script name, created in step 1)



3ApplicationDesigner:
i) SigOpion: create new Signature Button: PTWBUTTON
Advance Option: Check; This is an action that must be invoked by user in the UI
ii) Push Button:in properties of button Event: PTWBUTTON
Advanced: Signature Option: PTWBUTTON (newly create in Step 3(i)

4SecurityGroup:
Grant new signature option in desired group.

and we are done :)

No comments:

Post a Comment