Hi Team,
I need to link two tasks that exist in two expanded subprocesses in Camunda (connect TASK 1234 to TASK 123).
Hi Team,
I need to link two tasks that exist in two expanded subprocesses in Camunda (connect TASK 1234 to TASK 123).
You can’t unfortinuatly, not like this at least.
A subprocess needs to be activated by a token arriving at the start event so if you have a signal even within a sub process it’s not listening for the signal unless the a token has activiated the sub process and also activated the signal catch event.
Can you give more context about what you’re trying to do and i’ll try to help
@Niall My idea is that I have two expanded sub-processes. In the second sub-process, there is a task that should be linked to an intermediate task that exists in the first sub-process
Could you clarify what you mean by “linked” ?
Your process could also be expressed as
which itself could be simplified as
So I think perhaps you’ve over-simplified the example, and we’re missing some things.
What you propose is a good solution, but in our app, the entire model is marked as an expanded subprocess. We have a case where an intermediate task in a subprocess, after its completion, reaches a gateway that can redirect to another task (which does not have a start event but is an intermediate task—Task123 in our case) that exists in another subprocess.
Move the gateway outside the subprocess, and move TaskA123 after the gateway before the first subprocess (ie. outside the first subprocess)
That should accomplish the goal.
@GotnOGuts The issue persists when linking a task inside a subprocess to a gateway located outside the subprocess.
The attached file can be used for testing.
TESTRPM.bpmn (11.0 KB)
It’s still not clear what you mean by “link”
The link between TASK A and TASK B is that TASK B will be created once TASK A is completed.
You don’t need to use a Link Throw to do that. Simply set your boundaries appropriately, and connect them with a flow.
But we cannot connect two tasks with a flow if they exist in different subprocesses.
So you need to examine the sub-processes and break them down as appropriate. A “link throw” and “Link catch” is not a distinct action, and has all the same rules as a flow.
As I mentioned before - move the gateway outside of the subprocess, and you will be able to solve this.
Resolved .
Thanks .
Hi!
Could you please: