Passing variable from schedule to process / queue.

Hello,
I'm working with queues , process runs for every element I've put in it. The process runs at certain time in EU and now I would like to run for US, obviusly it should have different time set. So we got two schedules time for the same process. I would like to know which is the best approch to pass a variable from schedule to the process itself for internal pourpouse, e.g. for loading different parameters for EU / US.
Many thanks.
Br.
Marco.
 

Pete_L

Active Member
You want is to use Startup Parameters on the scheduled task. You will need to create inputs first in the Start stage of the process. The input might indicate "EU" or "US", for instance. Then, in the scheduler, you can create 2 schedules, one for EU and one for US. Set up the tasks in each schedule, and right-click on the task to select Startup Parameters and provide the appropriate parameter value, "EU" or "US" and click Save. Now, when the schedule runs it will automatically pass "EU" or "US" to the process.
 
Last edited:
Top