When i am updating any of Specific data details using Orchestrator HTTP request then it is removing other Specific data details.
Like if QueueItem has Specific data as {ItemName:“ABC”, Status:“NA”} and when i update Status from NA to something else it won’t show {ItemName:“ABC”}.
Updating QueueItem is loosing other specific data information.
You need to pass the entire value again. The orchestrator API says it will update the property reference, defer date, specific content etc.
Meaning it will update the entire specific content of the queue item not the individual properties inside specific content. Hope you get this.
So, your existing specific content data is {ItemName:“ABC”, Status:“NA”}
To update the above, you need to pass {ItemName:"ABC", Status:"Processed"}
Get the whole specific content data & make changes, pass the entire data with updated properties again. Now your item status is updated in specific content.
As per our code, we are updating only the status property in specific content.
As per the API, Status is not the property the entire specific content is just a string for it.
So the duty of API is to update the specific content property. You get the entire specific content string and update the required values in string and pass it back.
The behaviour still remains the same & fulfills your need.