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

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

Please note that it is not possible to add an array directly as a queue item.

However,we can serialize it to a JSON string and then add the json string as queue item.

While retrieving queue item,the json can be deserialized to get the actual array.

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

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

 

To fetch the value use Get Transaction Item.

Check the below screenshots for more idea

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

 

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

The above line will give you the serialized json string. Deserilize it to get the actual array.