Skip to main content
Pathfinder Advocate | Tier 6
May 31, 2023
Solved

Do you know any tutorial about triggers(file, and email) for unattented bots?

  • May 31, 2023
  • 19 replies
  • 873 views

how to do tasks with file and email triggers? As I searched, using triggers on task itself is not enough, I have to make some settings on controlroom-credentials or something

Best answer by Raul Jaimes

@Semih 3318 

Drag and drop a  Trigger action to your taskbot. It will allow run a bot using event triggers.

 

Regards

19 replies

Raul Jaimes
Navigator | Tier 3
June 8, 2023

@Semih 3318 

Thank you for your feedback.

Regards

Pathfinder Advocate | Tier 6
June 8, 2023

@Raul Jaimes i thank you for the help.

By the way may I ask you whats difference between setting email:Trigger for 10 seconds, and 10 minutes?

if i choose it for 10seconds, will it look at email every 10 seconds, and if there is email, it will run?

so it will not take too much time to look at email, right?

Then why does it not being used like file trigger, file trigger doesnt require “time”

i thought it might be better if AA360 just got it whenever it got email like a file trigger.

Andoni_1
Navigator | Tier 3
Navigator | Tier 3
June 23, 2023

Hi @Semih 3318 

in the VM enter to Control-Room using botrunner account. You will able to see a pop-up indicates Trigger configuration is started.

Please let me know if you have any further questions.

Regards

 

Why is necessary doing this? It is a bit of “a pain”...every time the bot runner VM is restarted or the Control Room is restarted this has to be manually performed so that the trigger is activated isn’t it?? @Raul Jaimes 

Navigator | Tier 3
June 26, 2023

@Andoni This was because triggers run on bot runners not on CR, when JVM goes down (when machine is restarted triggers are lost). Triggers in AA are ScheduledExecutorService  running in background polling every x duration on bot runners.

However I read in recent release notes, this is fixed and CR pushes the event triggers(polling on runner) once machine is connected again.

Andoni_1
Navigator | Tier 3
Navigator | Tier 3
June 26, 2023

@Andoni This was because triggers run on bot runners not on CR, when JVM goes down (when machine is restarted triggers are lost). Triggers in AA are ScheduledExecutorService  running in background polling every x duration on bot runners.

However I read in recent release notes, this is fixed and CR pushes the event triggers(polling on runner) once machine is connected again.

Hence the device that performs the polling (e.g. When email arrives or a file is created) is the bot runner VM and not the CR server? 

Navigator | Tier 3
June 26, 2023

@Andoni  Yes, that’s correct actual code executing to check trigger condition runs on bot runner: that has JVM installed.

CR only has trigger id, i.e. a specific trigger should run on specific runner.

Andoni_1
Navigator | Tier 3
Navigator | Tier 3
June 26, 2023

@Andoni  Yes, that’s correct actual code executing to check trigger condition runs on bot runner: that has JVM installed.

CR only has trigger id, i.e. a specific trigger should run on specific runner.

Thanks! By the way, when using Email trigger, is there any way of getting the attachment(s) of it?? Can’t find any way

Cadet | Tier 2
June 27, 2023

Hi @Semih 3318 

in the VM enter to Control-Room using botrunner account. You will able to see a pop-up indicates Trigger configuration is started.

Please let me know if you have any further questions.

Regards

 

Why is necessary doing this? It is a bit of “a pain”...every time the bot runner VM is restarted or the Control Room is restarted this has to be manually performed so that the trigger is activated isn’t it?? @Raul Jaimes 

hey excuse me. can A360 do background process? or running without showing the window and do any activity? thanks

 

Add as many details as possible, by providing details you’ll make it easier for others to reply

Cadet | Tier 2
June 27, 2023

Hey excuse me. can A360 do background process? or running without showing the window and do any activity? thanks