Work is a mechanism in the blue prism which reduce the load when we are working with huge data. Multiple machines can work from the same queue at the same time,by fetching the different cases to work. It marked as “complete” if it has been worked satisfactorily, or marked as an “exception”, if it is failed.
Queued work can be manged and handled from Control Room.
In the Previous class we passed the values from the process to object with the use of Excel and Collection. (Please go through with my previous classes).
First Create the New Queue from the System tab of Blue Prism and Provide the meaning ful name and then click on Apply button.
I have Created the New Queue as "Flow_WorkQueue_ZK" as displaying in below screenshot .
Go to the Control Room and check your Queue if it is created.
Now open the Process that i have created in the Last Class and the move the Data into the Queue by opening the Action Properties.
After adding the Data in to the Queue we will have to get the next item from the Queue with the use of Get Next Item VBO as you can see in the below screenshot
Provide the work Queue name and Also get this Item id into the Outputs of Action Properties.
Now, if you want to run your process on all the rows of Queue then you will have to write the decision based on item id that we are receiving for each and every record in "GetNextItem" Action with the use of Decision stage.
Process will run till the item id will not get null.
We will have to add another action to mark the status as completed for the processed case. Refer the below screenshot for Action Properties.
Now Run it and Process will run two times because we have two Cases in Queues. You can see all these cases in Queue Management.
Write now we do not have any data in the Queue management tab:
Lets Run it and then we can see the two records in the Queue as displaying in below screenshot . Lock sign indicates the record is in process and three dots (...) indicates that it has to be processed after completion of first record.
Lets do the Final Run and see the result. Now all the cases are completed successfully and you can see the Green tick mark against all the two records.
So this is the one use of Work Queues. We can apply some rules and condition with the use of Tag Name and Priority field on the cases that we have to processed to run the Business Process. We will cover that session later
Thank you very much!
Queued work can be manged and handled from Control Room.
In the Previous class we passed the values from the process to object with the use of Excel and Collection. (Please go through with my previous classes).
First Create the New Queue from the System tab of Blue Prism and Provide the meaning ful name and then click on Apply button.
I have Created the New Queue as "Flow_WorkQueue_ZK" as displaying in below screenshot .
Go to the Control Room and check your Queue if it is created.
Now open the Process that i have created in the Last Class and the move the Data into the Queue by opening the Action Properties.
After adding the Data in to the Queue we will have to get the next item from the Queue with the use of Get Next Item VBO as you can see in the below screenshot
Provide the work Queue name and Also get this Item id into the Outputs of Action Properties.
Now, if you want to run your process on all the rows of Queue then you will have to write the decision based on item id that we are receiving for each and every record in "GetNextItem" Action with the use of Decision stage.
Process will run till the item id will not get null.
We will have to add another action to mark the status as completed for the processed case. Refer the below screenshot for Action Properties.
Now Run it and Process will run two times because we have two Cases in Queues. You can see all these cases in Queue Management.
Write now we do not have any data in the Queue management tab:
Lets Run it and then we can see the two records in the Queue as displaying in below screenshot . Lock sign indicates the record is in process and three dots (...) indicates that it has to be processed after completion of first record.
Lets do the Final Run and see the result. Now all the cases are completed successfully and you can see the Green tick mark against all the two records.
So this is the one use of Work Queues. We can apply some rules and condition with the use of Tag Name and Priority field on the cases that we have to processed to run the Business Process. We will cover that session later
Thank you very much!
No comments:
Post a Comment