Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • As for every JavaScript function the return statement can be used to leave the processOrder() method prematurely.
  • If the return statement is not used then the job terminates successfully when leaving the processOrder() method.

Terminating Job successfully with warning due to return code

JavaScript Jobs can be configured to continue in case of warnings and to send a JS7 - Notification:

...