Hi!
I have two fields in Opportunity:
Delay and Compensation
I need to update compensation field depends on delay value
To make this, i have Flowchart, that run service method when delay was changed.


Opportunity Recalculation Code like this:
Then i try to change delay.
UI of opportunity updated, delay updated.
Compensation field NOT updated at the UI.
If i reload browser page, compensation updated.
It's interesting, if i add the same Workflow.

Compensation field changed immediately, without page reload.
I don't understand, why flowchart is not update compensation field immediately, without page reload.
What's dirrefent in workflow and flowchart? Workflow is good and expected. Flowchart update field with lag, or somethings. I can't understand, why.
P.S. We have this working in Espo 5. But after upgrade to Espo 8.0.6 we have this strange behavior.
I have two fields in Opportunity:
Delay and Compensation
I need to update compensation field depends on delay value
To make this, i have Flowchart, that run service method when delay was changed.
Opportunity Recalculation Code like this:
Code:
$entity->set('compensation', 123); $this->entityManager->saveEntity($entity);
Then i try to change delay.
UI of opportunity updated, delay updated.
Compensation field NOT updated at the UI.
If i reload browser page, compensation updated.
It's interesting, if i add the same Workflow.
Compensation field changed immediately, without page reload.
I don't understand, why flowchart is not update compensation field immediately, without page reload.
What's dirrefent in workflow and flowchart? Workflow is good and expected. Flowchart update field with lag, or somethings. I can't understand, why.
P.S. We have this working in Espo 5. But after upgrade to Espo 8.0.6 we have this strange behavior.
Comment