Google News
logo
jBPM - Interview Questions
Differentiate embedded sub process and reusable sub process.
Embedded Sub Process : 

* Embedded SubProcess is also known as Inline Subprocess. It is a subprocess within a Process and cannot be reused outside of the process.
 
* Embedded Subprocess can access all the process variables where it is defined & also we can add some additional variables to be accessible within that Embedded Subprocess container.
 
* Embedded SubProcess can also access the group flow elements together to make the business process more readable. Subprocesses are contained as part of the parent subprocess.


Reusable Sub Process :

* Reusable Subprocess is an independent process. It cannot access the parent process variables directly. We need to map the in & out values through Subprocess properties whenever we want to use it. Reusable Subprocesses create business processes that can be called from other business processes.
 
   Reusable processes have the following characteristics :
 
   * It must start with one none start event.
   * It can contain multiple end events.
   * It can only be called by other business processes.
Advertisement