Copy and paste in task tree
- Last UpdatedSep 04, 2024
- 2 minute read
You can copy and paste a node to create duplicate nodes when creating many similar tasks.
Scenario example
Consider a scenario that requires 10 tasks for checking 10 valves in parallel. The tasks differ in that each valve has a different name. You can create the first task, and then duplicate it with automatic text substitution.
Copy and paste a node
-
Right-click the node to copy and then select Copy Node from the context menu.
-
Right-click the parent node, then select Paste Node from the context menu.
The Paste Task dialog appears.

-
On the Paste Task dialog, configure the desired pasting rules.
-
Press OK to create the new item.
Pasting preferences
Use the pasting rules to customize the pasted node creation.
|
Item |
Description |
|---|---|
|
Name |
The name is a unique task identifier. |
|
Children |
Specifies whether pasting rules apply to the child nodes of an item. |
|
Start Tasks |
Specifies whether the start tasks are copied. |
|
Start Tasks Adapt |
The adapt feature enables the system to update references to children in the Start Tasks list. References are modified to point to new node children, instead of previous children, where applicable. |
|
Scores |
Specifies whether the scores associated to the end conditions are copied. |
|
Ends |
Specifies whether the end conditions and its related tasks are copied. |
|
Ends Adapt |
The adapt feature enables the system to update references to children in the End Tasks list. References are modified to point to new node children, instead of previous children, where applicable. |
|
Commands |
Specifies the content of the event triggered commands to copy. |
|
Replace |
Enables text replacing. Text replacing works on node references, commands, and end conditions. |
|
What |
A list of text strings to replace, separated by §. |
|
With |
A list of text strings to replace, separated by §. |
Text replacement notes
-
When replacing text, ensure that both What and With parameters contain the same number of text strings.
-
Text replacement is performed sequentially.