cancel
Showing results for 
Search instead for 
Did you mean: 

SubProcess

turgayz
Champ in-the-making
Champ in-the-making
Hi,
I am trying to design a subprocess and use it in other processes (using Activiti Modeler).
I couldn't figure out how I can reference the subprocess from the other process. Without Modeler, I can use:

<callActivity id="callCheckCreditProcess" name="Check credit" calledElement="checkCreditProcess" />

but, how can I set these values in the Modeler?

Thanks,
10 REPLIES 10

falko_menge
Champ in-the-making
Champ in-the-making
To create a Call Activity in the Activiti Modeler create a new Task, open its Attributes on the right hand side of the Modeler window, and set the property is a Call Activity to true.

falko_menge
Champ in-the-making
Champ in-the-making
I just realized that the BPMN 2.0 export of the Activiti Modeler is not creating Call Activities in the XML and created the following issue for it: http://code.google.com/p/signavio-core-components/issues/detail?id=5

turgayz
Champ in-the-making
Champ in-the-making
Thank you very much, Falko.

eye
Champ in-the-making
Champ in-the-making
Hi everyone,

this problem is still open. In my opinion it would be sufficient if one could enter the "calledElement" in the Modeler by Hand, as it is resolved during runtime. On the other hand one might want to link the diagrams, created with Modeler. This is quite hard (if you are not using Cycle to export the "Developer Friendly BPMN 2.0") as the ID of a process changes every time you save your diagram in Modeler.

What do you think? What would be better? Entering the "calledElement" by hand or the possibility to actually link the different diagrams? However, one solution should be implemented as callActivities require quite some manual XML-editing after each change.

Greetings

Dirk

eye
Champ in-the-making
Champ in-the-making
Hi,

for everyone else searching: seems to be unsolved in activiti 5.3 :-(. Another month of manual corrections … .

greetings

Dirk

jbarrez
Star Contributor
Star Contributor
According to Signavio, this issue was fixed: http://code.google.com/p/signavio-core-components/issues/detail?id=5&can=1

Could you comment your findings on the issue list there?

eye
Champ in-the-making
Champ in-the-making
Did that,

maybe the fix did not make it in this release. I'll keep you posted.

jbarrez
Star Contributor
Star Contributor
Create a normal embeddable subprocess. In the right pane, select 'call activity'. When you look at the BPMN 2.0 xml, you will this is now a <callActivity …

eye
Champ in-the-making
Champ in-the-making
Hi,

yes, that is right. But at least in my case it is still missing a "calledElement". I get a <callActivity id="…." name="…" etc> but without calledElement. What did you do to get the calledElement attribute?

Regards

Dirk