Callie Jones
Callie Jones

Reputation: 217

How to extract the data value from a UiPath QueueItem in Studio?

I have added Itens to my UiPath queue but I can’t extract the data when I pull from the queue.

I can loop through the QueueItems and even set the transaction to SUCCESS but I can’t figure out how to get the data in the QueueItem?

Upvotes: 1

Views: 5513

Answers (1)

Cameron McKenzie
Cameron McKenzie

Reputation: 3920

I think the call you are looking for is this:

QueueItem.SpecificContent("email").ToString

That assumes they key you are looking for in the UiPath Queue is named 'email.'

Read UiPath QueueItem Example

Here's a fairly descriptive image that shows the item on the queue, along with all of its name-value pairs, along with the code used in a UiPath Studio project. The output of running this UiPath Robot is in the lower left hand corner, so you can see how all of the pieces tie together.

enter image description here

Upvotes: 1

Related Questions