...
Perform the following steps in order to invoke request modeler actions in the form:
1. Open the self-designed form in Form Designer and click any one of the buttons on the form, e.g. SAVE AS DRAFT button field and then click the Event Wiring icon.
...
The Event Wiring window appears.
...
2. In the Events field, select the Click event.
Info |
---|
The Rule ID is auto-generated. You can also alter it without leaving space in between. |
3. Click Action/Launch icon and select the Execute the Request Modeler Action option.
...
The Execute the Request Modeler Action window appears.
...
4. Click the Model ID option and select a request modeler ID from the list of existing request modelers IDs, e.g. EMP_DETAILS.
...
Here, the Model ID refers to the Request ID in request modeler.
...
5. Enter an action on the Action field. In this example, SAVE AS DRAFT is entered as an action.
...
It is mandatory to provide any one of the following actions:
• SUBMIT
• SAVE AS DRAFT
• CANCEL
• DELETE
...
6. Click the Live Mode option and select a live mode if required. This option enables the user to perform live actions on the form. Edit and Delete are the two live modes available here.
7. Enter a success message on the Success Message field if required.
8. Enter a failure message on the Failure Message field if required.
9. Enter the callback function name on the callback field if you have used a callback function on the register handler.
10. Click Save to save the request modeler action wiring.
11. Similarly, to map action for other buttons on the form to Request Modeler actions, repeat the steps 1 to 10.