DEV Community

Thom
Thom

Posted on • Edited on

2 1

Starting routine of every RPA bot

When you create a new RPA unattended or attended bot you want to test it directly from the Studio. To do that, you can use the common action 'ImpersonateAsRobot'. So if you want to test your Robot out of your Studio it will impersonate the robot, but if you start the Robot from ServiceNow, we don't need the impersonate anymore. So we will check with the action 'isRunningFromStudio' from where the bot has started.

After that you can have a decision with 'isTrue' where you set the true path to the impersonate and the false path to the next action. Following screenshot shows the hole sequence:

Image description

Top comments (0)

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay