Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-09-20 10:01 PM
I have two process and two run time resource, each executes a process.
Process 1 scheduled to run every hour and allocated to one runtime resource- one which loads the item into the queue
Process 2 scheduled to run every hour and allocated to another runtime resource - it just get the next item and work
Let's say it starts at 8 and supposed to be finished before 8.30am. And at 8.30am Process 2 is scheduled to get and process the item from queue.So what if the load process takes longer than usual?
What if process 1 didn't get completed and Process 2 already started executing, but there are no items in the queue, since there is some issue in the Process 1 and it couldn't add the items in the queue? How to handle such scenarios?
------------------------------
Keerthana J
------------------------------
Process 1 scheduled to run every hour and allocated to one runtime resource- one which loads the item into the queue
Process 2 scheduled to run every hour and allocated to another runtime resource - it just get the next item and work
Let's say it starts at 8 and supposed to be finished before 8.30am. And at 8.30am Process 2 is scheduled to get and process the item from queue.So what if the load process takes longer than usual?
What if process 1 didn't get completed and Process 2 already started executing, but there are no items in the queue, since there is some issue in the Process 1 and it couldn't add the items in the queue? How to handle such scenarios?
------------------------------
Keerthana J
------------------------------
Answered! Go to Answer.
1 BEST ANSWER
Helpful Answers
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
15-09-20 05:12 PM
Hi Keerthana,
maybe I'm missing something about your question, but if you have two separate schedules, Process 2 will not do anything if the workqueue is empty and it might find some work to process when it runs one hour later (when hopefully the first process has completed). Because the second process runs on a different runtime resource, there shouldn't be any conflict. In case the second process (that "gets the next item and work") is supposed to run on both the runtime resources in parallel, you just want to make sure it has been designed for scalability, therefore can run on multiple machines in parallel. I hope this helps.
------------------------------
Luca Valente
Senior Product Consultant
Blue Prism
America/New_York
------------------------------
maybe I'm missing something about your question, but if you have two separate schedules, Process 2 will not do anything if the workqueue is empty and it might find some work to process when it runs one hour later (when hopefully the first process has completed). Because the second process runs on a different runtime resource, there shouldn't be any conflict. In case the second process (that "gets the next item and work") is supposed to run on both the runtime resources in parallel, you just want to make sure it has been designed for scalability, therefore can run on multiple machines in parallel. I hope this helps.
------------------------------
Luca Valente
Senior Product Consultant
Blue Prism
America/New_York
------------------------------
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-09-20 08:11 AM
Hi Keerthana,
If process 2 doesn't find any items in queue to work then it would ideally stop(assuming here that it follows standard process templates). If you are going to run Process 2 on only one runtime then you can very well have a single schedule with two tasks. First task(Process 1) will load items in the work queue and the second(Process 2) will execute the cases.
------------------------------
Shashank Kumar
DX Integrations Partner Consultant
Blue Prism
Singapore
+6581326707
------------------------------
If process 2 doesn't find any items in queue to work then it would ideally stop(assuming here that it follows standard process templates). If you are going to run Process 2 on only one runtime then you can very well have a single schedule with two tasks. First task(Process 1) will load items in the work queue and the second(Process 2) will execute the cases.
------------------------------
Shashank Kumar
DX Integrations Partner Consultant
Blue Prism
Singapore
+6581326707
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-09-20 01:40 PM
Hi Keerthana,
there are several solutions based on the design of your process.
One option is to add a new input parameter to the start stage of your process' Main page (i.e. "Initiation") that will be used in the process to execute or skip the email notification step. Then you can create two schedules, the first one sets the Initiation parameter =Y and runs the process only once at 8am and the second schedule sets the Initiation parameter=N and runs the process from 9am to 4pm, every 1 hour.
Another option is to separate the email notification step in a separate process. Then the first schedule would run the email notification process followed by the general process only once at 8am, and the second schedule would run only the general process from 9am to 4pm, every 1 hour.
Regards,
------------------------------
Luca Valente
Senior Product Consultant
Blue Prism
America/New_York
------------------------------
there are several solutions based on the design of your process.
One option is to add a new input parameter to the start stage of your process' Main page (i.e. "Initiation") that will be used in the process to execute or skip the email notification step. Then you can create two schedules, the first one sets the Initiation parameter =Y and runs the process only once at 8am and the second schedule sets the Initiation parameter=N and runs the process from 9am to 4pm, every 1 hour.
Another option is to separate the email notification step in a separate process. Then the first schedule would run the email notification process followed by the general process only once at 8am, and the second schedule would run only the general process from 9am to 4pm, every 1 hour.
Regards,
------------------------------
Luca Valente
Senior Product Consultant
Blue Prism
America/New_York
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
15-09-20 12:38 PM
Hi Luca,
Thanks for the reply. I got it, what you are saying. But i need some clarification on a different question. I will copy the question here again.
'
'
'
I have two process and two run time resource, each executes a process.
Process 1 scheduled to run every hour and allocated to one runtime resource- one which loads the item into the queue
Process 2 scheduled to run every hour and allocated to another runtime resource - it just get the next item and work
Let's say it starts at 8 and supposed to be finished before 8.30am. And at 8.30am Process 2 is scheduled to get and process the item from queue.So what if the load process takes longer than usual?
What if process 1 didn't get completed and Process 2 already started executing, but there are no items in the queue, since there is some issue in the Process 1 and it couldn't add the items in the queue? How to handle such scenarios?
------------------------------
Keerthana J
------------------------------
Thanks for the reply. I got it, what you are saying. But i need some clarification on a different question. I will copy the question here again.
'
'
'
I have two process and two run time resource, each executes a process.
Process 1 scheduled to run every hour and allocated to one runtime resource- one which loads the item into the queue
Process 2 scheduled to run every hour and allocated to another runtime resource - it just get the next item and work
Let's say it starts at 8 and supposed to be finished before 8.30am. And at 8.30am Process 2 is scheduled to get and process the item from queue.So what if the load process takes longer than usual?
What if process 1 didn't get completed and Process 2 already started executing, but there are no items in the queue, since there is some issue in the Process 1 and it couldn't add the items in the queue? How to handle such scenarios?
------------------------------
Keerthana J
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
15-09-20 05:12 PM
Hi Keerthana,
maybe I'm missing something about your question, but if you have two separate schedules, Process 2 will not do anything if the workqueue is empty and it might find some work to process when it runs one hour later (when hopefully the first process has completed). Because the second process runs on a different runtime resource, there shouldn't be any conflict. In case the second process (that "gets the next item and work") is supposed to run on both the runtime resources in parallel, you just want to make sure it has been designed for scalability, therefore can run on multiple machines in parallel. I hope this helps.
------------------------------
Luca Valente
Senior Product Consultant
Blue Prism
America/New_York
------------------------------
maybe I'm missing something about your question, but if you have two separate schedules, Process 2 will not do anything if the workqueue is empty and it might find some work to process when it runs one hour later (when hopefully the first process has completed). Because the second process runs on a different runtime resource, there shouldn't be any conflict. In case the second process (that "gets the next item and work") is supposed to run on both the runtime resources in parallel, you just want to make sure it has been designed for scalability, therefore can run on multiple machines in parallel. I hope this helps.
------------------------------
Luca Valente
Senior Product Consultant
Blue Prism
America/New_York
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
15-09-20 06:33 PM
Hi Luca,
Thanks for your quick response. Now i got the point. Have a good one!
------------------------------
Keerthana J
------------------------------
Thanks for your quick response. Now i got the point. Have a good one!
------------------------------
Keerthana J
------------------------------
