Specifying PeopleCode Actions
Use this action type to insert PeopleCode within your Application Engine program. You can invoke the PeopleCode Editor directly from the designer interface to code your PeopleCode programs.
With a PeopleCode action, you can specify only one property: On Return.
Use the On Return value to determine how your Application Engine program reacts based on the return of your PeopleCode program. The On Return setting takes effect if your PeopleCode program issues a “return 1” or “exit 1.” You can use the True keyword in place of a non-zero numeric return.
When you specify the On Return property, you select from the following values:
| Field or Control | Description |
|---|---|
|
Abort |
The program issues an error and exits immediately. |
|
Break |
The program exits the current step and section, and control returns to the calling step. |
|
Skip Step |
The program exits the current step and continues processing at the next step in the section. If this step is the last one in the section, then the calling step resumes control of the processing. |