How To Pass Array Into Orchestrator Queue Using "Add Queue Item"?

How to pass an Array / List into Orchestrator Queue using "Add Queue Item"?

Resolution :

  • Check the below screenshot and use the same method to pass an array to queue.

1 - Image_2019-07-10_10-35-21.png

  • To fetch the value use Get Transaction Item. Check the below screenshots:

2 - Image_2019-07-10_10-39-37.png

  • Below line will give you the serialized json string. Deserialize it to get the actual array.

3 - Image_2019-07-10_10-40-20.png

Note: It is not possible to add an array directly as a queue item. However, it is possible to serialize it to a JSON string and then add the json string as queue item. While retrieving queue items, the json can be deserialized to get the actual array.
1 Like

The Screenshots are not visible… Can you please upload the screenshot again and update us?

1 Like

Hello Sathish,

Thank you for your feedback! We haven’t found any issues with the screenshots embeded in this particular forum version of the article, however we have made some changes within the internal version. Please also try the link below and let us know if you experience further issues.

https://uipath-survey.secure.force.com/CaseView/articles/Knowledge/How-to-pass-an-array-into-Orchestrator-Queue-using-Add-Queue-Item

A post was split to a new topic: Where I can find the package “UiPath.Core.Activities”