changes.mady.by.user Aubergine
Saved on Oct 28, 2012
Abort the current run of a process instance, optionally cancelling any queued runs.
Processes("myProcess").abort(all); // note: instance.onEnd() will be called when the aborted run ends
all
Boolean
If true all queued runs will be cancelled.
true
The process instance is returned, so you can chain more instance methods, eg:
Processes("foo").abort(...).addTask(...).run();
Requires: