This AI is still in early stages of development.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

Abort the current run of a process instance, optionally cancelling any queued runs.

 

Syntax

Process("myProcess").abort(all);
// note: instance.onEnd() will be called when the aborted run ends

Parameters

ParameterTypeMandatoryNotesPulse Version

all

Boolean

(error)

If true all queued runs will be cancelled.

Default: false

0.1

Return value

ValueTypeNotesProcess Version
<instance>Process Instance

The process instance is returned, so you can chain more instance methods, eg:

Process("foo").abort(...).addTask(...).run();
0.1

Examples

 

Availability

Requires:

  • Warzone 3.1 or above
  • Process 0.1 or above

 

  • No labels