cancel
Showing results for 
Search instead for 
Did you mean: 

Exercise 9.1.1-2 in Foundation Training - Unable to find GUID

GeorgiosStakias
Level 2
Hi all,

I've been doing the foundation training, however I'm struggling to proceed further than the chapter 9.1 and more specifically 9.1.1 and 9.1.2, who depend on the Item ID getting a random value. 
More specifically, in the exercise 9.1.1, I am asked to add an Action, add "Work Queues" as its business object and "Get Next Item" in its foundation properties. 

In the Outputs, I am asked to autogenerate the Item ID and then proceed.

I have searched the community for other related posts and one of them recommended that I run the "Load Queue" process which I did with no results.

Can you kindly advise if you have come across and solved this.

------------------------------
Georgios Stakias
------------------------------
1 REPLY 1

Hi Georgios,

Firstly, to add the items into queue we need to have a collection which can be used to add the collection items to work queue. To add the items we can use the 'Add To Queue' action from 'Internal - Work Queues' business object with the queue name that you have defined along with the collection that has the data.

31923.png

The output of this action will provide you the collection consisting of all the Item ID's. These are the randomly generated GUID's which will be generated. As you can see upon executing the workflow, the collection data seems like below:

31924.png

Same you can check under the queue management section of Control Room as shown below where 6 items have been added under 'Pending' status:

31925.png

The workflow for adding the items is as follows:

31926.png

The status icon with three dots indicate that the items are in pending state. Now in order to work with the items one by one you need to use the action called as 'Get Next Item' which will pick up the pending state item present in the queue as per FIFO (First In First Out) logic where the item that got added first will be picked up if no priority has been mentioned. Also, you can provide the Tag Filters and Key Filters if you want which are option, however queue name is mandatory. The output of this action will provide you the Item ID of the retrieved pending item in the queue. The action parameters are as follows:

31927.png

31928.png
The outputs of the 'Get Next Item' action will provide you the output data items which are: Item ID, Data, Status and Attempts

31929.png

You should receive the Item ID value if there are pending items in the queue that you can check while debugging in the Control Room Queue Management section.

------------------------------
----------------------------------
Hope it helps you and if it resolves you query please mark it as the best answer so that others having the same problem can track the answer easily

Regards,
Devneet Mohanty
Intelligent Process Automation Consultant | Sr. Consultant - Automation Developer,
Wonderbotz India Pvt. Ltd.
Blue Prism Community MVP | Blue Prism 7x Certified Professional
Website: https://devneet.github.io/
Email: devneetmohanty07@gmail.com

----------------------------------
------------------------------


Hope it helps you out and if my solution resolves your query, then please mark it as the best answer

Regards,
Devneet Mohanty
Intelligent Process Automation Consultant | Technical Business Analyst,
WonderBotz India Pvt. Ltd.
Blue Prism Community MVP | Blue Prism 7x Certified Professional
Website: https://devneet.github.io/
Email: devneetmohanty07@gmail.com

----------------------------------