š¤On Submit Workflow Script Output Parameters
Output Parameters
| Output Parameter | Description |
|---|---|
| g_status | Status Values are either āSā for Success or āEā for Error. Alternatively use the following method to set values in your code. ew_lb_api.g_status := ew_lb_api.g_success OR ew_lb_api.g_status := ew_lb_api.g_error |
| g_message | Error Message if the status is Error. |
In order to show an error for each line, use the following API.
ew_lb_api.ins_req_val_rec
(p_line_num =>
Next Steps
Important
Always set g_status and provide a g_message when returning an error. This ensures users understand what went wrong and can take corrective action.