How to set reference field in queue when input is from Orchestrator api?

Hi,

I am able to add transaction items in queue using the Orchestrator API. Now I want to setup one of the field as reference.

Below is the input json for orchestrator add queue item api:

{
“Name”: “DownloadFilesQueue”,
“Priority”: “High”,
“SpecificContent”: {
“Email@odata.type”: “#String”,
“Email”: “safaya.nitin@gmail.com”,
“Name@odata.type”: “#String”,
“Name”: “Node-Red”,
“PK@odata.type”: “#String”,
“PK”: “{{book_pk}}”,
“Stage@odata.type”: “#String”,
“Stage”: “{{comp}}”
}
}

How to set PK field as reference field in queue?

Just add it as a field in the API json data.

{
    "itemData": {
        "Name": "QueueName",
        "Priority": "High",
        "Reference":"ref",
        "SpecificContent": {
            "Name": "some data",
            "Number": "some data"
        }
    }
}
2 Likes

Awesome… thanks for the help!

2 Likes

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