1b.app
Link copied -

Help to find where processes are duplicated

Recently, they noticed that the number of created processes increases out of order, but somehow after 40-50

help me find the reason? No tasks seem to be created, but processes grow, where can this happen?
http://box.magbaby.ua/admin/customorder/order/?searchLine=
Original question is available on version: ru

Answers:

Good afternoon. This can happen if you configured the BP in such a way that at some stage errors are generated by actions when creating an order, subtask, etc. mysql rolls back the transaction, but since the order id is auto-incrementing, it increases by 1. There is nothing wrong with this, this is a normal situation.
15.12.2021, 13:33
Original comment available on version: ru

Can you try to find where exactly it occurs? Perhaps we could reconfigure the logic
15.12.2021, 13:36
Original comment available on version: ru

in theory, yes, you need to look through all your bp and starting actions on them, put a bunch of logs and wait. It will take me from 3 hours of refinement. You can also view all your BPs on your own and guess which of the actions at the initial stages can give errors. Do you have an invoice?
15.12.2021, 14:28
Original comment available on version: ru

Суханіцький Андрій OneBox CORP
OneBox Corp - Інтегратор
Personal license

Ryabovol Victoria wrote:
Recently, they noticed that the number of created processes increases out of order, but somehow after 40-50

the code is generated for all business processes from one data array, for example:
You have BP "Order" and "Simple task"
13:00 an order is created - it has a code = 1
13:02 - a simple task is created, code = 2
13:03 - order again, code = 3
etc.
Perhaps you have other processes that are created between the order creation interval
15.12.2021, 15:51
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