The capabilities described on this page are included in Appian's standard capability tier. Usage limits may apply. |
OverviewCopy link to clipboard
After you plan and build your robots and robotic tasks, you're ready to use them in your business processes. You can integrate them with a new or existing process model in Appian. This way, you can choose how and when the robotic task starts in the context of a broader business process.
Although there are multiple ways to execute a robotic task, this page focuses on how to use the Execute Robotic Process smart service in a process model.
To use a robotic task in your application, complete the following steps.
Create or update a process modelCopy link to clipboard
- Create a process model object or find and open an existing process model.
- In the Process Modeler, drag the Execute Robotic Process smart service to the Process Model canvas.
- Open the smart service to configure it.
- Click the Setup tab and choose the integration you set up earlier.
- Click the Data tab to configure the input and output:
- If the integration uses rule inputs, configure the smart service inputs to pass the appropriate value for each rule input.
- The smart service lists
variables
as an output. If a robotic task variable is a CDT, you can reference a specific field using dot notation.
- Click OK to save the smart service configuration.
- Continue designing or updating the process model. If you're using the robotic task results in other nodes, be sure to update those properties appropriately.
- To save the robotic task results in your Appian datastore, add and configure a write to data store node.
- Publish the process model.
View the resultsCopy link to clipboard
Finally, you'll want to consider how to display or use the results of the robotic task. How you display the results is determined by your goal. If you're sharing a set of this information with others, an Appian record in your application could be a good option. Alternatively, if you're looking to troubleshoot or optimize your robotic task (notably in the development phases), you might want to take a look at the Execution Details in the Appian RPA console.
This section describes both approaches. Learn how to create a record type and populate it with details from a CDT, and how to create a record-powered grid.
Create a recordCopy link to clipboard
Appian records aggregate and display your data to provide users with information they need, whether to act or be informed. When a robotic task execution concludes and sends information back to Appian, it's time to use it in your application.
See Create a Record Type to learn how to display robotic task results alongside your other Appian data.
View the execution detailsCopy link to clipboard
Sometimes it's more helpful to view all information about a robotic task, including metadata about the execution. All of these details are available in the Appian RPA console.
To view execution details:
- Go to the Robotic tasks tab in the Appian RPA console.
- Click the robotic task you're interested in.
- On the List of executions, click an execution to view its details.
- Three tabs appear:
- Workflow: This tab shows you the actions the robotic task went through. The robotic task definition appears just as it does in the robotic task configuration. See the Robotic Task Definition for more information about how to set this up.
- Results: If your robotic task acts on items, the results tab displays information about each execution cycle, as well as a summary of the robotic task overall. This tab uses color-coding to show items by their status.
- Execution log: This tab shows the most technical information for the robotic task. Each time the robotic task starts or completes an action, or encounters an issue, it sends a message to this log with a timestamp. The execution log is valuable for troubleshooting and debugging. You can configure your robotic task to send custom messages to the log as well.
Deploy a robotic task or robotCopy link to clipboard
Deploying a robotic task between environments is an essential piece of the development lifecycle. During testing, the robotic task might access other testing environments so it doesn't manipulate production data or interact with live systems. Appian uses an import customization file to help you update certain values quickly and easily when deploying to another environment.
When deploying a robotic task, the ICF may need to include values for new or updated credentials that the robotic task references.
When you're ready to deploy robots and robotic tasks to another Appian environment, you'll include the design objects in your deployment package.
You may need to complete the following manual configurations in the target environment if your robotic task uses these options:
- Queues: If your robotic task is designed to process work items from a queue, configure the queues for the robotic task.
- Schedules: If your robotic task is designed to execute on a schedule, configure the schedule for the robotic task.
- Global support files: If your robotic task relies on global support files, make sure that the files exist in the environment.