Use Process Modules
In Stages, a process modeled in a workspace of the type process module can be inherited into other workspaces. The content of a process module is dictated by the process architecture. A process module will contain generic process(es) to be inherited into an integrated standard process or even into an instance of a program or project.
In above example, each of the process workspace in bottom two layers of the process architecture will have to be set as a process module in order for it to be integrated into the workspace above.
Specify Workspace as Process Module
By default when a new workspace is created, the process kind is set as Process. Hence, it will not be available to selected for inheritance into another workspace. The process kind of the workspace can be set to Process Module by navigating to Management > Setting and selecting it from the available options.
Integrate Process Modules
In order to add a process from one workspace to another as a module, use the Add Module function. Refer Integrate a Process section of Process Architecture on steps to integrate a process module.
An important consideration when importing a module in a new workspace is the impact on process interfaces.
All local associations are retained in the integrated process but process interfaces with other workspaces are retained only when workspaces containing matching elements (either identical elements or elements matching by name and parent name) are in the same workspace collection(s). Multiple matches will lead to multiple interfaces. In addition to this, local associations will be created if matching target elements can be found locally - even for associations that were process interfaces in the module. Additional process interfaces will be created from originally local associations, if matching target elements can be found in the workspace collection.
Update Process Modules
Once a process module has been updated to a new valid version, all the workspaces where it is integrated need to be updated to update the valid version consumed there.
To achieve this, follow steps in Update an Integrated Process section of the Process Architecture description.
Behavior when updating process modules
Parent and sort order of process module elements
Elements from process modules can be moved to a new parent element in the process where the module is integrated.
Of course, it is also possible to change the sort order between module elements, both in a new version of a module and in the integrated process.
So, the parent element and/or sort order of module elements can be different between
- the old module version
- the new module version
- the integrated process
This “conflict” is resolved as follows:
- The sort order between elements and the question of the parent element are handled separately
- When the new module version is different to the old module version
- When the parent element/sort order has changed between the old module version and the new module version, the parent element/sort order from the new module version “wins”. This means that you can lose a change of the parent element or sort order in the integrated process.
- When the parent element/sort order has not changed, the parent element/sort order in the integrated process is preserved
- When the old and new module version are the same
- When old and new module version are the working version, the parent element/sort order from the module “wins”
- When old and new module version are the (same) valid version, the parent element/sort order in the integrated process is preserved (this is a quite rare case, because a valid version can only be modified retroactively with superuser permissions)
Example
The following element hierarchy is created for Version 1.0 of a process module
- Folder 1
- Work Product Z
- Work Product B
- Work Product A
- Folder 2
- Work Product B
- Work Product A
This module version is integrated into another process. In this process, the child elements of “Folder 1” are moved into a new folder and sorted alphabetically (A-B-Z). The child elements of “Folder 2” are only sorted alphabetically, but not moved.
- Folder 1
- Folder 2
- Work Product A
- Work Product B
- New Folder
- Work Product A
- Work Product B
- Work Product Z
In the new module version (2.0), the children of “Folder 1” are sorted in a custom sort order (B-A-Z) and the children of “Folder 2” are not changed at all.
- Folder 1
- Work Product B
- Work Product A
- Work Product Z
- Folder 2
- Work Product B
- Work Product A
This means, that after updating the module to Version 2.0 in the integrated process
- The sort order between the children of “New Folder” is changed to the one from the module (because it has changed between these elements between the old and the new module version)
- The new parent element (“New Folder”) for these elements is preserved (because it has not changed between the old and the new module version, and the parent element is determined independently from the sort order)
- The sort order and parent element for the children of “Folder 2” are preserved
So, the integrated process looks like this now:
- Folder 1
- Folder 2
- Work Product A
- Work Product B
- New Folder
- Work Product B
- Work Product A
- Work Product Z
