Announcement
Collapse
No announcement yet.
BPM - flowchart with two parallel sub-processes after trigger
Collapse
X
-
When triggering another workflow rule variables are not passed (we would have documented it otherwise). I recommended to use a BPM task instead.
- Likes 1
-
It seems to work when I create a new process and call it as an activity from the main process. But it doesn't work when the main process initiates a workflow. Somehow the variable is not passed on to a workflow.
Leave a comment:
-
yuri thanks, it seems indeed they run in parallel as expected. My problem might be that I'm not able to pass within the sub-process the variable $template_id to the workflow that is initiated. I've tried to catch the variable in the workflow formula action with $template_id and $$template_id, but both are not set. Any suggestions how to pass the variable to the workflow when initiated through a BPM sub-process?
I've tried to catch it with {$$template_id}, $$template_id, $template_id and {$template_id}
Last edited by Maarten; 01-25-2023, 09:34 AM.
Leave a comment:
-
I re-checked. It worked as expected. I paralleled two sub-processes. Each sub-process had their variable declared within. I set the sub-processes to return those variables to the parent process. After execution both variables returned to the parent process.
Not sure about your lower flow with the timer start. These two start events will instantiate separate processes.
- Likes 1
Leave a comment:
-
BPM - flowchart with two parallel sub-processes after trigger
Hi,
I'm trying to have two parallel sub-processes running after a single trigger:
In each send message sub-process a variable is set, after which a workflow is initiated.
However, it seems the variable that is set doesn't have it's scope limited to the sub-process.
In other words, in the workflows that are initiated, the variable has the same value for both.
What i'm trying to achieve is that after a single state change to an entity, i'm sending messages to two different groups of people, using two different templates.
Someone has a suggestion of how to set run these in parallel?Tags: None
Leave a comment: