Posted: 28 Jul 2020 22:49 EDT Last activity: 19 May 2021 12:31 EDT
Which nodes to run BackgroundProcessing on
Let's assume we have 3 BakcgroundProcessing nodes (#1 - #3). And I have a Job Scheduler that fires an activity to generate and send out a thank you e-mail to customers. This Job Scheduler is scheduled to run at night every day.
There are two options in "Runs on" dropdown.
1. All associated nodes
2. Any one associated nodes
I want to clarify each meaning.
Question #1. Option 1 means this Job Scheduler is executed on all three BackgroundProcessing nodes, right? In that case, thank you e-mail is sent out to customer three times a day (which must be annoying) because activity is fired three times?
Question #2. Option 2 means this Job Scheduler is executed on random single node, right? Thank you e-mail is sent out to customer once a day. The node may be #2 today but #3 tomorrow. We don't know.
Question #3. Is it possible to specify particular node (say, #2) only for this Job Scheduler. All other Job Scheduler runs on all nodes (#1-#3). How do we accomplish that?
***Edited by Moderator: Pooja Gadige to add platform capability tag***
Question #2: Yes, it is randomly selected and in this case e-mail is sent to customer just once.
Question #3: In order to dedicate a particular node, use another node type (say, Custom1).
Can anyone answer Question #1? If activity gets executed three times a day (customer receives three e-mails), I would like to clarify what kind of business use case it would be to use this "All associated nodes"?
Lets say an activity is doing some actions using/on node level artifacts for example pick a file in certain location and do some processing. Since, file is node specific agent has to be run on three nodes.