How deeply is an item cloned with the workflow clone item action?

Hi all,
Do we have any notes/documentation on what gets cloned as part of the clone item workflow action? I’m interested to know how deep the cloning goes and what will be cloned/will not be cloned. I am looking at adding some parent/child links to Waste Rounds and need to understand what affects the clones may have on the links.

Thanks
Andy

Looks like we’re fairly light on detail in documentation on the clone action in workflows. I’ve found the below text in a .txt file attached to the original ticket: AL-2440 - Project and Task Clone Action

Jobs

Job Number - Recalculate
Job Work Items - Deep Copy
Related Jobs - Empty
Attachments - Empty
Description - Copy
Status - Copy
Team - Copy
Team Member - Copy
Raised Time - Recalculate
Estimated Start Time - Empty
Estimated Duration - Copy
Start Time - Empty
Completion Time - Empty
Target Time - Empty
Price Multiplier - Copy
Price Adjustment - Copy
Fixed Defects - Empty
Job Inspections - Empty

Job Work Items

Work Item - Copy
Estimated Value - Copy
Actual Value - Empty
Estimated Cost - Recalculate? Maybe copy? Configurable?
Actual Cost - Empty
Budget - Copy
Price Multiplier - Copy
Price Adjustment - Copy

Inspections

Inspection Number - Recalculate
Related Inspections - Empty
Attachments - Empty
Description - Copy
Status - Copy
Team - Copy
Team Member - Copy
Raised Time - Recalculate
Estimated Start Time - Empty
Estimated Duration - Copy
Start Time - Empty
Completion Time - Empty
Target Time - Empty
Raised Jobs - Empty
Raised Defects - Empty

Projects

Name - Copy
Tasks - Deep Copy
Routes - Deep Copy

Managed Routes

Name - Copy
Waypoints - Deep Copy
Distance - Copy
Duration - Copy
Shortest Route - Copy
Shortest Route Distance - Copy
Shortest Route Duration - Copy

Tasks Waypoints

Tasks - related to the cloned tasks?!?!?
Name - Copy
Distance - Copy
Index - Copy

1 Like

@jonathan-shaw has good answer for specific implementations of designs/interfaces (e.g. jobs, inspections) but default behaviour for all items is:

  • Create a new item.
  • If the item is in the template collection, then template logic will be used to deep copy any child items that are also in the template collection (thus creating a new instance of these items down the tree).
  • The newly cloned item will maintain any existing links to parent items.
  • All other attributes are copied to the new item.