Maximo

Maximo

Come for answers, stay for best practices. All we're missing is you.

 View Only

Specifiy a wait/sleep in auto script 

Thu March 26, 2020 04:12 PM

Forum question posted -

We have a situation where a workflow kicks off in the background and we'd like to be able to specify a certain time for the playback to sit and wait (i.e. 20 minutes).  We see that there is the event below, but it looks like that is specifically for the Long Op dialog.  Are there any other events we could use for the described situation? 

{ "event":"waitForPleaseWaitToClear", "minutes":[20] }


Response - 
1)

Yes, you can use:

{"event":"sleep","params":[2]}

 

where 2 is the number of seconds you want the script to wait between executing two lines.

 

Thanks,

Kristin


2)
Thank you!  We will try that.



#AssetandFacilitiesManagement
#MaximoEAM
#Maximo

Statistics
0 Favorited
8 Views
0 Files
0 Shares
0 Downloads