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 5 Next »

Activate the interval timer for a process instance, causing the instance to be run at regular intervals until deactivated.

 

Syntax

Processes("myProcess").activate(quiet);

Parameters

ParameterTypeMandatoryNotesPulse Version

quiet

Boolean

(error)

If true the instance.onActivate() event will not be fired.

0.1

Return value

ValueTypeNotesProcess Version
<instance>Process Instance

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

Processes("foo").activate(...).addTask(...).run();
0.1

Examples

 

Availability

Requires:

  • Warzone 3.1 or above
  • Process 0.1 or above

See also

Related documentation:

  • setTimer() – the JS API function that the process instance uses to set timer intervals.
  • Process Instances – everything you wanted to know about process instances

 

  • No labels