It is good to have a get Output Data from Queue Item for reporting.
Up!
GetQueueItems will return an object that expose the Output property.
Hi @badita, the GetQueueItems referring to Orchestrator API or Activity in studio?
It is an activity in Studio. It returns a collection of queue items, however the Output property is not exposed.
Ya, Queue items in the studio cant access those Output property currently
Hey @quihan and @badita, can we update the value in any queue item present in the orchestrator? Is there any activity?
Has this feature been implemented? I cannot find the returnable object for the Output. I am able to access the SpecificContent, but am unable to find the feature to access the Output Data Object.
Hi @JMP, the current limitation is that we canât access the output data directly from Queue item variable. The workaround will be by using Orchestrator API to get your queue items and access the output data.
https://orchestrator.uipath.com/v2018.2/reference#retrieving-specific-transactions
Cheers. Hope this helps.
Thanks for this. The documentation is slightly vague and I havenât delved into Orchestrator API yet. Is there a way to get a specific item from a queue based on the Reference and the Queue Name? If so, what would that API request look like?
Hi @JMP, I agree with that. You could do it by using filter. Try looking at the OData Documentation to understand more about filters
Based on your case, you could use filter like QueueDefinationId eq â{ID}â and Reference eq â{Ref}â *Replace {ID} with your desired Queue ID and Ref with your content.
In calling Get Queue Items API, you canât use Queue names directly as a filter instead you have to use Queue ID. In order to get the Queue ID, you have to use Get Queue Definitions API.
https://platform.uipath.com/swagger/ui/index#!/QueueDefinitions/QueueDefinitions_GetQueueDefinitions
Cheers. Hope this helps
It will be out in 18.3. So very soon.
Otherwise, yes, odata can be used?
Good to know Cheers @badita
- Our âDipatcher/Workerâ robots set a flag in âOutputDataâ with âSetTransactionStatusâ activity Output. We are implementing a Statistics robot, which gets the all the elements from a queue and writes statistics based on that flag. It would be so nice to get OutputData in the GetQueueItems ouput as well.
Hi,
so what is your current approach to access the OutputData of a QueueItem?
hi @skrug,
If you are using UiPath studio that is later or 18.3, you could get the OutputData from a QueueItem by using QueueItem.output(â{field defined}â) .
Cheers,
Qui
Hi quihan,
great, thx a lot! That was very helpful!
Hi @quihan,
Could you give us more details about it? For instance, in which activity we can use your expression?
Thanks a lot. It is very useful