When attempting to copy and paste an activity that contains other nested activities, the operation fails and throws a "duplicate key" error. This issue prevents the reuse of complex activity structures within workflows, impacting the ability to efficiently build and modify workflows.
Steps to Reproduce
Create an activity that includes one or more nested activities.
Copy the entire activity.
Attempt to paste the copied activity within the same or a different workflow.
Expected Behavior
The activity and its nested activities should be successfully copied and pasted without errors.
When attempting to copy and paste an activity that contains other nested activities, the operation fails and throws a "duplicate key" error. This issue prevents the reuse of complex activity structures within workflows, impacting the ability to efficiently build and modify workflows.
Steps to Reproduce
Expected Behavior
The activity and its nested activities should be successfully copied and pasted without errors.
Actual Behavior
The operation fails with a "duplicate key" error.