Hello everyone
Is there a way to pause execution of my "execute JavaScript code" and resume it after, for example, my custom apex.message.confirm message is answered and my callback function is executed? I noticed that, when I use native confirm, the next step in dynamic action is waiting for my answer (callback), but when I write it dynamically inside my "execute JavaScript code" code seems to continue without waiting for callback to execute (normal JS behaviour). I tried using apex.da.cancelEvenet on beggining and trying apex.da.resume in callback, but no luck. I am aware i can use custom event, but i would really like to learn how to implement everything in one dynamic action.
I guess, to simplify my question, is there a way to turn off "Wait for result" in execute javascript code and then resume it with apex.da.resume?
Tnx :)