How to trigger a RPA bot process from a flow

Satish Thirunav
ServiceNow Employee
ServiceNow Employee

I am trying to create a flow in which I am adding an action. The action is that it should trigger a BOT process in RPA. Is this possible? and if so, please guide me me on how to do this. I am trying to do it. But I am getting errors.

4 REPLIES 4

Fernando Koenra
Kilo Sage

Hi Satish, 

When you have a Unattended Bot process set up (Trigger Mode: API) you can definitely trigger this from a Flow. 

With RPA ServiceNow has already included a spoke with several actions, including one that you can use to start a bot process. ('Start Process')

find_real_file.png


Within this flow action you can then specify your Bot Process, and the Robot(s) that should be used to run it. 

Do note that your bot process has to be Unattended (for api) and the bot process should be Published to be selectable. 

Hope this helps.

Kind regards,
Fernando Koenraad
iTSMGroup

How to trigger a RPA bot process from a schdeule

Hi Sai Vamshi K,


You can indeed trigger an RPA bot process from a schedule as well. 
When you set up a bot process as: 
Process type: Unattended
Trigger mode: Schedule 

FernandoKoenra_2-1677231913283.png

 

Then you can navigate to the 'Schedules' tab and define when it should run. Different types of intervals are available 🙂

FernandoKoenra_3-1677232017485.png

 



When you have set up a bot process as in the earlier post as:
Process type: Unattended
Trigger mode: API

FernandoKoenra_0-1677231502292.png


Then you can create a Flow (flow designer) with a trigger to run this bot process at a certain time:

FernandoKoenra_1-1677231776670.png

 

This might be useful if you want to trigger the bot process in a flow in certain conditions, as well as schedule it to run daily for example. 

If you plan to simply set up a bot process that should run every x time - then it would be better to simply create the bot process with trigger mode 'Schedule' as described above. 🙂 

Hope this helps! 

Kind regards,
Fernando Koenraad
iTSMGroup

AbhishekKathe_0-1718781003534.png

Not able to see Trigger Mode Field