PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 23 → IBM BPM - Javascript trigger delay
IBM BPM - Javascript trigger delay
Débuté par Azharuddin, 26 sep. 2018 11:29 - Aucune réponse
Posté le 26 septembre 2018 - 11:29
For those who know Javascript and IBM BPM, I need to know how to delay the execution of the trigger below, represented by the IBM BPM code this.context.trigger();.

The code is actually working, except for the delay which is not considered in my code.

Can you please help me? Thanks a lot

var _this = this;

function myFunction() {
setTimeout(myFunction, 10000);
_this.context.trigger();
}

myFunction();

https://mindmajix.com/ibm-bpm-training