This section describes the actions you can add to forms. The actions are implemented as buttons. You can specify a custom display label for each button.
Table 6-3 Valid Actions
Action Name |
Form Type |
Description |
---|---|---|
|
Approval |
Causes the Approval activity to complete and follow the flow path to the next activity. When you use this action, you must set the Hide If Read Only form property to True; otherwise the form fails validation when you deploy it.HINT:An ApprovalAction requires the Approval Activity associated with the form to have an approved flow path exiting the activity. |
|
Request and Approval |
For request forms, Cancel returns the user to the Request Resource Search Criteria form. For approval forms, Cancel returns the user to the My Tasks list. |
|
Approval forms |
Generates a button with the default label set to . The button launches a Comments dialog box displaying the processing history for each activity from the workflow start to the present time. Data displayed includes Date, Activity Name, User, and Comment as shown in the following example.Comments are updated and persisted to the workflow database through the UpdateAction (described below). NOTE:Any forms containing this action must also contain a field named . |
|
Approval |
Causes the Approval activity to complete and follow the denied flow path. When you use this action, you must set the Hide If Read Only form property to True; otherwise, the form fails validation when you deploy it. HINT:A DenyAction requires the Approval Activity associated with the form to have a deny flow path exiting the activity. |
|
Approval |
Causes the Approval activity to complete and follow the refused flow path. When you use this action, you must set the Hide If Read Only form property to True; otherwise, the form fails validation on deploy. HINT:A RefusalAction requires the Approval Activity associated with the form to have a refusal flow path exiting the activity. |
|
Request and Approval |
Initiates the workflow and causes the workflow to execute the forward flow type. The workflow passes any user-entered data to the next activity in the workflow. |
|
Approval |
Causes the Approval activity to write a user comment to the workflow database. There is typically a text area associated with an form field. If the user enters text in this field and clicks this action, it is persisted to the afcomment table in the workflow database. The comment can be retrieved and viewed through the CommentAction (described above). The following example shows a text area and an update action button (labeled UpdateAction):NOTE:The form must contain a field named apwaComment; otherwise, the provisioning request definition fails validation. For more information about apwaComment, see Controls for User-Entered Comments. |
The following table describes the properties you can set on actions.
Table 6-4 Action Properties