cancel
Showing results for 
Search instead for 
Did you mean: 

How to set as an item in a BPMN stencil a call to a sub-process ?

meaulnes
Champ in-the-making
Champ in-the-making

We have created a BPMN process that does a job in respect with enterprise standard rules.

We now want to have it appear as a standard item in a BPMN stencil.

We imagined to create the item as JavaScript task but we do not know how to call a sub-process from it ( The JavaScript manual is a "little" weak on it ... )

Any idea ?

2 REPLIES 2

r3dge
Champ in-the-making
Champ in-the-making

hi,

You could try that with a java service task wich is more documented.

gdharley
Elite Collaborator
Elite Collaborator

If you are using Activiti Enterprise Edition, you can add Java Delegate classes as custom service tasks within the BPMN Process Editor Stencil.

This feature was documented in a blog entry here back in 2014:
BPMN 2.0 / Activiti: Custom palette available in the Alfresco Activiti Editor 

The configuration has evolved quite a bit and as yet no better documentation exists.

If you are using Community Edition 6.0, you can do the same thing, but will need to edit the stencil json file directly.

If you are using Community Edition 5.0, then you can create custom service tasks in the palette using the following approach: Activiti User Guide - Customizing the palette 

Hope this helps,

Greg