Configuring Events
● You have created an iView and defined its parameters and result states as described in Defining Output Parameters and Result States.
● The model is open in Storyboard.
...
1. On the Design board, click the evt1 connection line to select it.
2. Display the Configure Element task panel and change the name of the event to Approve.
3. In the Input Field column of the table that lists input parameters, choose ResultState_approve and enter true in the Assigned Value field. Assign the value false to the ResultState_reject parameter.

4. Repeat the steps 1 through 3 to configure evt2. This time, rename the event to Reject, set ResultState_approve to false and ResultState_reject to true.
5. Click the GP form of the model and display the Configure Element task panel.
6. Choose the Approve button from the Input Fieldcolumn of the table and open its properties.
7. Open the Action tab and choose Custom action.
8. Enter APPROVE in the Custom action field and click Close.

9. Following the same procedure, define custom action REJECT for the Reject pushbutton.
You have specified the events corresponding to the Approve and Reject buttons. To finish the task, see Deploying the iView.