Categories
#Sub-process

Nesting and subprocesses

Nesting

The graphical tool supports Nesting of activities and processes however there are some rules for nesting which are described below.

Three activities nesting in a super activity
  1. An Activity can be nested in another Activity or Process
  2. A parent Activity can be nested to other parent or child Activities
  3. A process cannot be nested in an Activity
  4. A process can be nested in another Process
  5. A Process or Activity with connections cannot be nested unless connections are removed first
  6. Tool supports N level of Nesting fulfilling above criteria

How to Nest

To nest one element to another follow these steps:

  1. Select an Activity or Process by left click on it, it’s border will turn to blue this indicates as a source element which is to be nested
  2. Now right click on other Activity or Process and a menu will be shown, click on Nest Under option and the selected item will be nested inside this item

Un-Nesting

When an Activity or Process is nested it can also be un-nested easily, just right click on the item you want to un-nest and select Un-nest from the menu and the item will be un-nested from its parent. If the item has some connection then remove those connections in certain cases in order to complete the un-nest operation.

Sub-processes

We’ve enhanced the DCR semantics and is now supporting two different types of “grouping of events”:

  • Nesting – the “classical” way of grouping events together
  • Single instance sub-process – a new way of “grouping” events which we believe is more intuitively. Once the grouping is Accepting, i.e. no pending events (blue exclamation marks) exists, the sub-process is considered done.

The main difference between nesting and sub-process is that in nesting all events must be executed before you can proceed, while for sub-processes the process must be in accepting mode to continue. This is illustrated in this example.

You choose between Nesting and Subprocess using the Options-->Advanced and then selecting the Grouping Type.

As of Release 6.0 of the DCR Portal the default nesting type is changed from Nesting to Subprocess.

Related Release notes

Release 2.7

  • Welcome to single-instance sub-processes

Related Videos

No related videos found.

Related Articles

Zoom and enhance: Action refinement via subprocesses in timed declarative processes

LinkedIn
Share