Page History
...
- As for every JavaScript function the
return
statement can be used to leave theprocessOrder()
method prematurely. - If the
return
statement is not used then the job terminates successfully when leaving theprocessOrder()
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 - NotificationNotifications:
- JavaScript Jobs can be configured to consider a number of return codes that raise warnings.
- Any return codes will not fail the job but will result in a notification if specified with the job configuration.
...
Optionally notifications for warnings are sent by mail if configured by JS7 - NotificationNotifications.
Terminating Job successfully with warning due to output to stderr
...
Overview
Content Tools