Duplication of work steps
This step plug-in allows you to automatically duplicate a work step within the workflow several times according to a process property.
Last updated
This step plug-in allows you to automatically duplicate a work step within the workflow several times according to a process property.
Last updated
Name | Wert |
---|---|
This plugin reads the value of a process property and can automatically duplicate a defined workflow step several times depending on the contents of the property. In addition, the originally analysed property can be split and saved as separate new properties that refer to this duplication.
To install the plugin, the following file must be installed:
The configuration file is usually located here:
After a successful installation, the plugin is integrated into the workflow as shown in the following screenshot.
the plugin retrieves the value of the configured process property and splits it into parts using the possibly configured separator (or if not).
for each part of the original property, the possibly configured process step (or the next process step of the current process step if it is not configured) is duplicated again. The names of these duplicated new steps are given the name of the original step plus an incremented value.
a new task property or metadata is created for each duplicated new task, depending on how the @target
attribute is configured. The value of this new task property or metadata corresponds to the part of the original property on the basis of which this work step was duplicated.
if duplicates are created for each part of the original property, the original step is deactivated.
the plugin gets the value of the configured task property and splits it into parts using the possibly configured separator (or if not).
a new task property or metadata is created for each part of the original property, depending on how the @target
attribute is configured. The value of this new process property or metadata corresponds to the part of the original property.
The content of this configuration file looks as follows as an example:
The <config>
block can occur repeatedly for different projects or work steps in order to be able to perform different actions within different workflows.
Value | Description |
---|---|
Identifier
intranda_step_duplicate_tasks
Repository
Licence
GPL 2.0 or newer
Last change
15.08.2024 11:20:05
project
This parameter defines which project the current block <config>
should apply to. The name of the project is used here. This parameter can occur several times per <config>
block.
step
This parameter controls which work steps the <config>
block should apply to. The name of the work step is used here. This parameter can occur several times per <config>
block.
property
This value determines which process property should be used to check the desired duplication. It accepts four attributes, whereby only @name
is mandatory. Details of the possible configuration are listed in the sample configuration.
stepToDuplicate
This optional parameter can be used to specify the name of the work steps that are to be duplicated. If this value is not configured, the work step that follows next in the workflow is used for the duplication. The parameter also accepts an optional attribute @enabled
with a default value true
, which controls whether there is a work step to be duplicated.