Announcement
Collapse
No announcement yet.
"Event Sub-Process" with "Conditional Start Event" does not work
Collapse
X
-
'changed', 'not changed' conditions do not work in sub-process start events.If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.
-
Workaround. Using a separate Workflow that will broadcast a unique signal when a field is change. A process will listen to that signal to start a sub-process. A signal name can be a concatenation of some name with a record ID.If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.
- Likes 1
Comment
-
1. Create a Workflow for Lead. With a trigger 'After record saved'. Add a condition Opportunity Amount > changed.
Add an action "Execute Formula Script" with this script:
Code:$signalName = string\concatenate('leadAmountChanged.', id); bpm\broadcastSignal($signalName);
Code:leadAmountChanged.{$id}
If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.
- Likes 1
Comment
Comment