Personas 2.0: How to impplement a time delay during script excution?
This is a simple question but may not be simple to answer. This is for Personas 2.0 only.
In quite some cases scripts perform a serious of actions, such as copy data to some dynamic fields. But the action cannot be success if a previous action has not finished. So I need to find a general way, like in JS, to setup a "timer", then wait for timeout to continue my next actions in Personas.
Does anyone know if it is possible to have this kind of "timer" in personas 2.0? I tried to use JS timer in script button, the timeout did come out later, but there is no way to "pause" the current execution, and I don't know how to do some action based on the timeout event set from a JS in a button? Simplest case, I want the timeout event to trigger a button click. Any ideas?
Chinthan Yajamaan replied
You cant trigger button click from JS, but you can introduce some delay as I replied to your other post URGENT! Personas 2.0 SP3: ME51N: copy data failed in dynamic fields of Tabs of icon "Item"