This AI is still in early stages of development.
Â
Processes("myProcess").onRun = function(processName, processData, runData) { // event handling code here }
The data associated with the process run that is about to start.
Defaults to an empty object if nothing specified when the run was triggered.
The return value of the event handler is ignored.
Requires:
Future changes may include allowing a return value to abort the run.