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?

cancel
Showing results for 
Search instead for 
Did you mean: 
rehita
Member II

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?

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
vikash_patel
Established Member II

Re: 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?

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
Intermediate

Re: 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?

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