1. Create a new Project and select "JBoss jBPM5 Business Process Engine" for BPMN2 Target Runtime.
2. Create a new BPMN2 Process file named processA.bpmn
3. DND a Start Event onto the canvas
4. DND a End Event onto the canvas
5. DND a Script Task onto the canvas
6. Open Script Task property view and add 'System.out.println("Hello");' to the Script Attribute
7. Create a SequenceFlow between Start - Script Task and ScriptTask - End
8. Create a new BPMN2 Process file named processB.bpmn
9. DND a Start Event onto the canvas
10. DND a End Event onto the canvas
11. DND a Call Activity onto the canvas
12. Edit Call Activity and select process as a type of callable element
13. Add the following parameter to the create new process dialog:
- id id of the processA
- name name of the processA
If you display the source code you see that a process object with id processA is created in the processB.bpmn file. If the process tag will be removed the modeller creates a UnresolvedReferenceException
How is it possible to refer a process which is design in its own file?