Advanced configuration using Integer Constant

<< Click to Display Table of Contents >>

Navigation:  Model Process > Modeling for execution > Sub-Processes > Reusable Sub-Processes > Understanding Multiple Sub-Processes > Advanced configuration for Multiple Sub-Processes >

Advanced configuration using Integer Constant

Overview

When using the Integer Constant option, instead of Items in Collection, the number of instances created will always match the number specified.

It can be selected when configuring a new Sub-Process and it is only visible when Advanced Settings has been selected. It is only visible for Reusable processes set as Multiple.

 

ConfiguremultiplesubprocesswithIntegerAttribute02

 

 

 

 

 

 

Example

To illustrate the execution of the Integer Constant option, please consider the next situation:

 

In a car showroom, an after-sell activity is performed, controlling the necessary preparations previous to a car delivery. A car vendor requests the car preparation in order to be ready before the established deadline.

 

Configure multiple subprocess with Integer Constant 02

 

Car preparations is distributed amongst service personnel whose activities are performed and registered at start and end, in order to keep track of times and when the vehicle is ready to be checked.

 

Configure multiple subprocess with Integer Constant 03

 

Due to a business rule, the activities performed are three (3), therefore, selecting an integer constant allows you to keep only three activities working at the same time.

 

1. In order to configure the Sub-Process, right-click it and select Configure Sub-Process.

 

Configure multiple subprocess with Integer Constant 04

 

2. Select the Integer Constant option of the Number of Instances drop down list. This will show the Integer Constant field to provide the exact number of instances you want to be created each time the Sub-Process starts.

 

ConfiguremultiplesubprocesswithIntegerConstant2

 

 

4. This will enable you to create three activities and let them continue at the same time.

 

Configure multiple subprocess with Integer Constant 08

 

 

 

note_pin

If your process provides information for less than the selected quantity of instances, those will still be created with null information.

If your process attempt to create more instances than the ones specified, an error will show:

 

Configure multiple subprocess with Integer Constant 09