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 2 Current »

Fired immediately before the current process run ends.

 

Syntax

Processes("myProcess").onEnd = function(processName, processData, runData, aborted) {
  // event handling code here
}

Parameters

ParameterTypeNotesProcess Version
processNameStringThe name of the process instance.0.1
processDataObjectThe data object associated with the instance.0.1
runDataVariant

The data associated with the current process run.

Defaults to an empty object if nothing specified when the run was triggered.

0.1
abortedBooleanIf true the current process run was aborted (it did not finish normally).0.1

Return values

The return value of the event handler is ignored.

Availability

Requires:

  • Warzone 3.1 or above
  • Process 0.1 or above

 

  • No labels