cancel
Showing results for 
Search instead for 
Did you mean: 

Add sub activities to an activity

jchidiac
Champ in-the-making
Champ in-the-making
Hi,
it's possible to add sub-activity to an activity ?
8 REPLIES 8

vickyk
Champ in-the-making
Champ in-the-making
Does sub activities mean sub processes, I am trying to confirm since I was trying to figure the term from the bpmn specs could not get ;(

Regards,
Vicky

jchidiac
Champ in-the-making
Champ in-the-making
yes, it will be a sub-process
and the activity should be wait the end of the sub-process before taking the outgoing transition

jbarrez
Star Contributor
Star Contributor
The PVM allows to add sub activities to any activity.
This will also be how the (embedded) subprocess will be implemented (planned for this month).

jchidiac
Champ in-the-making
Champ in-the-making
the sub-activity ( or sub-process) should be not contains informations about the transition

and  once the Activity finish, automatically the execution search to execute the Activity's sub-activities list
and once all the sub-activities done, the execution execute the Activity's transition

it's done by the PVM ?
any example about this ?

thx for ur reply.

jchidiac
Champ in-the-making
Champ in-the-making
Hello again,
how can i add multiple sub activities to an activity ?
can i have an example ?

vickyk
Champ in-the-making
Champ in-the-making
and  once the Activity finish, automatically the execution search to execute the Activity's sub-activities list
and once all the sub-activities done, the execution execute the Activity's transition

it's done by the PVM ?
any example about this ?

thx for ur reply.

I think you are looking for parallel execution of sub activities, are you not looking for the flows as pointed here
http://svn.codehaus.org/activiti/activiti/trunk/modules/activiti-engine-examples/src/test/resources/...

If you can give the graphical view of the problem I can try coming us with the example of corresponding bpmn artifacts( xml and testcase).

Regards,
Vicky

jchidiac
Champ in-the-making
Champ in-the-making
i'm looking to add at runtime a sub-activity to an activity : 
ex  : add [Task 11] to the task 1 [ParallelGatewayTest.testUnbalancedForkJoin.png] 
and the execution of task1 should wait the end of Task 11 before moving to Task 4

falko_menge
Champ in-the-making
Champ in-the-making
i'm looking to add at runtime a sub-activity to an activity : 
ex  : add [Task 11] to the task 1 [ParallelGatewayTest.testUnbalancedForkJoin.png] 
and the execution of task1 should wait the end of Task 11 before moving to Task 4
That sounds to me like an Ad-Hoc Sub-Process, which is defined in the spec as "[…] a group of Activities that have no REQUIRED
sequence relationships."

Do you already know the possible 'sub-activities' at design-time?