It's all about the answers!

Ask a question

[closed] IBM BPM - Javascript trigger delay


Azhar uddin (111) | asked Sep 26 '18, 5:25 a.m.
edited Sep 26 '18, 11:06 a.m. by Ralph Schoon (63.1k33645)

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();


Comments
Ralph Schoon commented Sep 26 '18, 11:06 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

Sorry, but I don't think this is the right forum. 

The question has been closed for the following reason: "Question is off-topic or not relevant" by rschoon Sep 26 '18, 11:05 a.m.