2.7. "RunScriptTask" process now also with "TriggerFinishedEvent" and "CustomFinishedEvent"

TriggerFinishedEvent" and "CustomFinishedEvent" can now also be used for the "RunScriptTask" task.[23]

CustomFinishedEvent is triggered when the process has been successfully returned (exit code 0).

CustomFailedEvent is triggered when the process fails. A script can return the exit code with "WScript.Quit(exitCode)".