Execution mode

SwitchScripter ignores the script's execution mode property. Entry points are always invoked one at a time and data is not persistent between entry point invocations.

While testing a script with persistent execution mode, insert explicit calls to the initializeProcessing and finalizeProcessing entry points from within the jobArrived and timerFired entry points. Do not forget to remove those calls before deploying the script in Switch.

For a script, users can select three types of execution modes: