ppr
(Peter Preuss)
September 20, 2021, 2:43pm
2
Looks like duplicate of:
I am using Add to queue item API to add below information in Queue. I want to add “Products” array to store multiple products detail and store into one transaction item .
But getting below error . Please guide me
[image]
Below is the payload :
{
“itemData”: {
“Priority”: “Normal”,
“Name”: “queue3”,
“SpecificContent”: {
“shopName”: “webshop”,
“srNumber”: “SR10036”,
“location”: “Germany”,
“EmailAddess”: “sathish@outlook.com ”,
},
{
“Products”: [{
“productID”: “VM_580-ADFO”,
“produ…
And when refering to different documentations the need of primitive datatypes within the specificContent String /Object Dict is mentioned (along the hint of not using arraysin e.g. schemas)
The UiPath Documentation Portal - the home of all our valuable information. Find here everything you need to guide you in your automation journey in the UiPath ecosystem, from complex installation guides to quick tutorials, to practical business...
that is why we do serializing the array
In the desribed procedure
the String Array firstHalf = {“1”,“2”,“3”,“4”}
serialized by: JSONConvert.SerializeObject(firstHalf)
as now for the SpecificContent Dictionary Entry a string is used instead of an array it will be accepted