1b.app
Link copied -

Pass Business Process to API - Response Processing (array)

There is this answer:
{
"id": 125594,
"meta_data": [
{
"id": 473652,
"key": "is_vat_exempt",
"value": "no"
},
{
"id": 473653,
"key": "_wc_cog_order_total_cost",
"value": "0.00"
},
],
}
I need to get the values:
1) From "key": "is_vat_exempt" write the value of the field "value": "no" to the additional field of process 1
2) From "key": "_wc_cog_order_total_cost" field value "value": "0.00" in additional field 2
How to do it? Is it possible to?
I tried already a million options, until I settled on this
Original question is available on version: ru

Answers:

key and value must be entered without \
You need to check the box Treat resulting response as a multidimensional associative array
11.10.2021, 15:37
Original comment available on version: ru

Суханіцький Андрій OneBox CORP
OneBox Corp - Інтегратор
Personal license
I tried it, it doesn't work either

Here is the log https://cabinet.b2bframes.com/admin/logs/showall/ajax/?file=export-order-api-202...
Process 43111
11.10.2021, 17:28
Original comment available on version: ru

I answered based on the information in the first post.
In this case, you need a link to a fully customized action.
11.10.2021, 17:41
Original comment available on version: ru

Суханіцький Андрій OneBox CORP
OneBox Corp - Інтегратор
Personal license
https://cabinet.b2bframes.com/admin/shop/workflow/12/procedure/100/?status=0
I removed the unnecessary from the answer, which has no semantic load, so that it would be easier to see an example
11.10.2021, 20:31
Original comment available on version: ru

The correct option is on the very first screen, but with my amendments
The fact is that the required field Order number on the site is not filled in the process, as I understand it, because of this, the answer is parsed incorrectly (all orders come)
13.10.2021, 12:28
Original comment available on version: ru

Суханіцький Андрій OneBox CORP
OneBox Corp - Інтегратор
Personal license
gun works, thanks
13.10.2021, 13:26
Original comment available on version: ru

Суханіцький Андрій OneBox CORP
OneBox Corp - Інтегратор
Personal license
Suddenly someone will need
13.10.2021, 13:27
Original comment available on version: ru

Литвинов Алексей Николаевич
Руководитель UATech
Leave a message in this thread and the user's contacts will be shown to you

Andriy Sukhanitskyi
OneBox CORP wrote:
the gun works, thanks

Thanks for leaving the screenshot, it works.
14.08.2023, 17:18
Original comment available on version: ua

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