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 ?