Add Queue item thru Orchestrator API

Hi,

I want to know can we pass array object in specific content and upload the add the queue item in orchestrator via API. Sample is given below.

{
“itemData”: {
“Name”: “QueueName”,
“Priority”: “High”,
“SpecificContent”: {
“Name”: “Test”,
“details”: [
{ “jdate”: “2024-01-01”,
“edate”: “2024-06-01”,
“edept”: “HR”,
“m_Id”: “1111 (EMP1)”
},
{ “jdate”: “2024-03-01”,
“edate”: “2024-09-01”,
“edept”: “IT”,
“m_Id”: “1234 (EMP2)”
}
]
},
“Reference”: “2024-10-07”
}
}

@Dany069,

It should be like this.

This image shows a JSON object with details such as defer date, due date, priority, name, and specific content including age and status. (Captioned by AI)

Refer this awesome tutorial here.

One more reference thread for more understanding.

so that means we cannot pass array object in specific data it will be simple array?

We can pass it as serialized string

Hi @Dany069

You can refer this thread
https://forum.uipath.com/t/queueitemparameters-must-not-be-null-error-while-posting-json-array-while-using-orchestrator-api-addqueueitem/382341/8

@Dany069,

As Peter said serialize the array and pass that serialized string. Refer this thread on this.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.