1b.app
Link copied -

The procedure box_action_universal_export_order_to_api does not fire / Pass the process to the API

Answers:

You have 20+ products in your order. You send each product as a separate request to the rest api. That's 23 requests. Each request, due to the number of actions to update the product (21 actions there), works out at least 9 seconds. Accordingly, we have 20*9=180. This means that the procedure will run for at least 3 minutes.
What to do?
There are several options:
1. Optimize the procedures that you set, for a fee in the form of improvements.
2. Make an action to update those fields of the product that you need so that you do not knock on your own api. Paid, in the form of improvements
3. Improve the server so that it processes requests faster
4. Reduce the number of automation actions
11.11.2020, 17:21
Original comment available on version: ru

Куприян Владислав Валерьевич
Baza.cn.ua / Integrator (FOP Kupriyan)

Bodyako Dmitry
Employee wrote:
Each request, due to the number of actions to update the product (21 actions there), works out at least 9 seconds

1. Where did you get 9 seconds from?

Bodyako Dmitry
Employee wrote:
2. Make an action to update those fields of the product that you need so that you don’t knock yourself on the api

2. Why can't I knock on my own api, if not, why not?
11.11.2020, 21:13
Original comment available on version: ru

1. Took one of the requests and completed it, looked at how much it works
2. You can do whatever you want
12.11.2020, 09:53
Original comment available on version: ru

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