0 Replies Latest reply on Sep 8, 2017 3:48 AM by iamsaanvi

    IBM BPM - Javascript trigger delay

    iamsaanvi

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