Get Trigger Name within a Running bot that has triggered that box

Hello

Is there any possibility via any activity to get the “Trigger name” that has launched the bot for execution when the bot itself is in action ? This is so that it can be used some where, for example, let us assume that when bot is in process, at some point I want to display a message box or let us say we want to add a log showing “Trigger name”. Can we do it ?

Regards
Ankit

1 Like

Hi

Well there is no direct way to get the trigger name or the process during bot execution in UiPath.

Even Get Current Job Info activity does not return this information

May be you can get the current running process name with API

Where get the trigger details with process name and compare with process name obtained from GET CURRENT JOB INFO activity

Have a view on this doc for more details on API

Hope this helps

Cheers @AnkitJain

1 Like