Disabling/Enabling Triggers and jobs in different folders

I am trying to build a “master” bot that I can control jobs and triggers based on maintenance windows and other needs to ensure bots are off or on. I have a BotManagement folder with the process and the Scheduled Triggers. I have a bot assigned to this folder. I want it to run the process to turn off/on all the triggers and jobs in whichever folder those triggers and jobs happen to be in that fit the criteria of the scheduled trigger.
I can turn on and off the jobs and triggers just fine in debug with my account (because I am admin) but not with the bots. I gave the bot view and update permissions with Triggers and jobs and it seems to work in its own folder. How can I make it work across folders??
I am using 2023.10.0

@gregg.rubright,

You will have to assign the bot to every folder you want to automate.

Thanks,
Ashok :slight_smile:

Thanks for the quick reply. But I have 1 question. Do I assign the bot account or the user account associated to the bot??

@gregg.rubright,

The bot account.

Thanks,
Ashok :slight_smile:

That worked! One more question, will that bot be picked up for other workflows in each folder then? I would rather it not be used if it can be helped.

@gregg.rubright,

Glad I was able to help. Kindly mark my answer as solution as it will keep me inspired to keep helping community.

Regarding your query:

If you start any job by default settings like below, there are chances that this bot will be picked up to execute the job. You can avoid this by specifying other bot’s except this one while creating the trigger.

Specify the bot machine to run while creating Trigger.

Thanks,
Ashok :slight_smile:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.