cancel
Showing results for 
Search instead for 
Did you mean: 

Hi,I would like to re-use a created BPMN process model in another process.Please guide me how to do it while creating the visual diagram?

rehita
Champ in-the-making
Champ in-the-making

I have created a BPMN process model say model1 and model2. Now I am in need of creating a new BPMN process model in which I have to reuse these created models.Please guide me how to do it and specifications I should enter in creating the BPMN visual diagram?

2 REPLIES 2

vikash_patel
Star Contributor
Star Contributor

Hi,
you can use your custom model by importing namespace in your new model file

<imports>
<import uri="http://www.alfresco.org/model/dictionary/1.0"
prefix="d" />

<import uri="http://www.alfresco.org/model/bpm/1.0"
prefix="bpm" />

<import uri="http://www.someco.com/model/workflow/1.0"
prefix="scwf" />


</imports>

<!-- Introduction of new namespaces defined by this model
<namespaces>
<namespace uri="http://www.someco.com/model/workflow/1.0"
prefix="scwf" />
</namespaces> -->

and you can use it in your another model.

gdharley
Elite Collaborator
Elite Collaborator

I think you are looking for the "Call Activity" documented nicely here: Activiti User Guide - Call Activity 
and here: Alfresco Activiti - Call Activity 

If I have missed something in my interpretation, please provide a specific use case to demonstrate your need.

Greg