Hello! The "Submit business process to API" action is configured in the procedure that sends an http request to the API and receives an array of data in JSON format. You need to configure so that the action updates the values of the add. process product fields. JSON response example:
[
{
"box_productID": "417",
"productName": "OIL FILTER",
"price": 19.34,
"weightInKG": 1.05,
"quantityInStock": 8
},
{
"box_productID": "122",
"productName": "Light bulb",
price: 5.96
"weightInKG": 0.016,
"quantityInStock": 1
}
]
When JSON contains data for only one product, then everything is updated, and when the response is an array of data for several products, then it does not work.
Can you please tell me how to set up response processing in this action?
[file]17089[/file]
Hello! The "Submit business process to API" action is configured in the procedure that sends an http request to the API and receives an array of data in JSON format. You need to configure so that the action updates the values of the add. process product fields. JSON response example: [ { "box_productID": "417", "productName": "OIL FILTER", "price": 19.34, "weightInKG": 1.05, "quantityInStock": 8 }, { "box_productID": "122", "productName": "Light bulb", price: 5.96 "weightInKG": 0.016, "quantityInStock": 1 } ] When JSON contains data for only one product, then everything is updated, and when the response is an array of data for several products, then it does not work. Can you please tell me how to set up response processing in this action?
Hello Apparently, you have specified the wrong path to the array of products and / or to the field that must be filled in for the product of the process
Hello
Apparently, you have specified the wrong path to the array of products and / or to the field that must be filled in for the product of the process
Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter.
Log in and comment
Donate
You don't have enough funds in your account Top up