1b.app
Link copied -

Action "Fill field for process or contact" / action_box_block_set_value_fields does not see payments when creating (variable {|$ordersumpaid|} is empty)

This task describes how to create a process in which the action https://crm-onebox.com/en/support/integration-with-onebox/4081-deystvie-quotpriv... does not work sozdanii-zadachi-nigde-ne-fiksiruet-naznachenie-platezha---boxautoactionprivat24importpaymentsfromrestfiz/
Here is the process https://baza.cn.ua/admin/customorder/order/29588/edit/
At this stage https://baza.cn.ua/admin/shop/workflowstatus/147/action/new/
There is an action https://prnt.sc/vwa3rl which writes the variable {|$ordersumpaid|} in the additional field
But it all doesn't work
I suppose because the action is at the stage from which the process starts and at this moment there are no payments yet or there is no connection between the task and the payment
If so, then it seems to be illogical, we are in automation https://baza.cn.ua/admin/auto/action/minute/edit/
Through the action we receive the payment and immediately create the task, and in fact the payment should already
Original question is available on version: ru

Answers:


Kupriyan Vladislav Valerievich
Baza.cn.ua / Integrator (FOP Kupriyan) wrote:
I suppose because the action is at the stage from which the process starts and at this moment there are no payments yet or there is no connection between the task and the payment

your guess is correct. When moving to a stage in the process, there is not yet and should not be a payment
05.12.2020, 14:34
Original comment available on version: ru

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

Bodyako Dmitry
Employee wrote:

Kupriyan Vladislav Valerievich
Baza.cn.ua / Integrator (FOP Kupriyan) wrote:
I suppose because the action is at the stage from which the process starts and at this moment there are no payments yet or there is no connection between the task and the payment

your guess is correct. When moving to a stage in the process, there is not yet and should not be a payment

1. Well, what is the logic then, if in fact the action on the minute crown creates payments (that is, in fact there is already a payment), then in the action we turned on the creation of the process, that is, we first create the payment, we create the process for the second time, that is at the time of process creation, there is already a payment, why can't the system get the payment amount for the process?
2. How can this problem be solved without further work and a crutch in the form of waiting for a minute and switching to some stage to collect this amount in a minute?
05.12.2020, 14:43
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