Configuring post-processing for a flow action
Define the behavior of your application after users complete an assignment by providing a post-processing configuration for a flow action. With a post-processing configuration you can save time, automate your processes, and take advantage of additional options that improve manipulating data in a case. Because you can use a data transform, an activity, and a robotic automation, your application development process is flexible and can help you meet your individual requirements.
For example, you can use savable data pages to save information that the current case does not include. Consider a scenario in which a user who has an account in an online shop edits personal details when placing a shipping order. Although the modification of the contact information is external to the main case, a user can still save the relevant data.To store modified information, you can use a top-level data page that you need to provide in the flow action. You can also use an embedded data page. However, in this scenario the new information persists only in the context of a current case and your application does not save the new data to any external system.
For post-processing, the system first invokes a robotic automation, saves the data pages, runs the data transform, and then runs an activity. Specify the elements of post-processing according to your needs. For example, you can specify only robotic automation and a data transform, and you can omit providing an activity.- In the navigation pane of Dev Studio, click Records.
- Expand the Process category, and then click Flow Action.
- If you use the Robotic Desktop Automation (RDA), specify the post-processing
automation to run on the user's desktop when you want to send data that users
enter in a case form to all the applications that run on the user's
desktop:
- In the Run robotic automation field, enter an automation name.
- In the Description field, enter text that describes the purpose of the automation.
- Optional: To save a data page after the flow action completes, in the Savable
data pages subsection, list the data pages that you want to
save:
Choices Actions Use a data page - Click Add data page.
- Optional: To save the data page only under certain circumstances, in
the When field, enter a When
condition rule.At run time, if the When rule evaluates to true, the application saves the data page. If you leave this field blank, the application always saves the data page.
- In the Data page field, specify a data page to save.
Use a data relationship by providing an autopopulated property - Click Add data page.
- Optional: To save the data page only under certain circumstances, in
the When field, enter a When
condition rule.At run time, if the When rule evaluates to true, the application saves the data page. If you leave this field empty, the application always saves the data page.
- Select the Use associated property check box.
- In the Autopopulate property name field, specify an autopopulated property.
- Optional: To add more data pages, click Add data page, and then repeat step 4.
- Optional: To monetize efforts connected with performing the flow action, in the
Apply cost field, specify the flow action cost:
- To specify the cost manually, enter an expression or a number in units of any type, such as currency.
- To calculate the value automatically, enter a property reference that identifies a numeric property that is used in your computation.
In a single application, use only numbers or property references. - In the Apply data transform field, specify a data transform that the system applies to the current primary page at run time.
- In the Run activity field, enter the activity that the
system runs after processing the flow action is complete.
Consider the following factors when you use an activity for post-processing:
- Do not include a Commit method in the activity.
- If you use an activity that depends on parameter values that a user enters after selecting this flow action, enter the activity in the post-processing configuration rather than placing the activity in the flow.
- You can use the activity to perform validation processing and add messages to the clipboard if validation fails. Validation by applying an activity is more suitable for complex validation scenarios. The activity can also perform additional processing that occurs after the user successfully submits the flow action.
- If the activity includes parameters, in the Parameters section, enter values for the parameters.
- Click Save.
Previous topic Configuring pre-processing for a flow action Next topic Configuring back-to-back processing for a flow action