A robot task in a process is an automated
user task. Learn about the approaches you can use to implement the
task in a robotic process automation (RPA) tool.
If you
use
IBM® Robotic Process
Automation (IBM RPA) with Automation Anywhere,
see the topic
Implementing a robot task in the
IBM RPA documentation
for more information.
About this task
Depending on the capabilities of your RPA tool and the skills
of your bot developers, you can build a bot that uses REST APIs or
one that uses IBM Process
Portal and
the coach user interface for the robot task.
Procedure
- Use the REST APIs.
If your RPA tool supports
REST API invocations well, use the following
IBM Business Automation
Workflow REST APIs
for the task interactions.
- Use Process Portal and
the coach user interface for the robot task.
- Create a bot in your RPA tool that logs into Process Portal by
using the functional ID that you used for the team assignment of the
robot task in Process Designer. Your
bot can use the Work dashboard and pick a task to work on, or use
the Get Next dashboard to see the next available task to work on.
For more information about Process Portal dashboards,
see Dashboards in Process Portal.
- When a bot claims a task, it must retrieve the input data from
the coach by extracting the various fields in the Input section.
It can then use the task data to perform the work that is needed.
When the work is finished, the bot completes the task by entering
the output data in the Output section and clicking
the Done button.
- If the bot cannot perform the work on the task, it fails the task
by filling the Error Description and clicking
the Fail button. This action causes a BPMBotFailedError
error that can be handled in the process.