%AEExitReturnCode system variable

Description

Use the %AEExitReturnCode system variable to return the status of PeopleCode action or a SQL action, which is used as an on-exit action in Application Engine.

Valid return codes:

Return Value Description

0

Returns 0 when:

  • The last executed action was not SQL or PeopleCode.

  • The PeopleCode being executed is not running as an On-Exit plugin.

  • The last executed action was a SQL or PeopleCode action and exited with a Continue.

100

Returns 100 when the last executed action was a SQL or PeopleCode action and exited with Abort.

101

Returns 101 when the last executed action was a SQL or PeopleCode action and exited with Break.

102

Returns 102 when the last executed action was a SQL or PeopleCode action and exited with Skip Step.