(info) This AI is still in early stages of development.

instance.onDeactivate()

Fired when the interval timer for a process instance has been deactivated.

 

Syntax

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

Parameters

ParameterTypeNotesProcess Version
processNameStringThe name of the instance that has been deactivated.0.1
processDataObjectThe data object associated with the deactivated instance.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

Future changes may include allowing a return value to prevent deactivation.

Â