Closed ElimAdmin closed 2 months ago
Is this issue resolved by the following commit made yesterday? We've seen this too when versioning our workflows (starting with a copy). It would be convenient to not have to worry about the Number Prefix step on copy.
@nlBayside Hi Noah - Yes, development on this ticket is in progress and is nearing completion. As soon as it is complete the commit link and Fixed in Version will be updated here in GitHub.
Description
I am unable to copy workflows on my site (v16.5). These are the steps to recreate the same situation on rockrmlatest.
Open Workflow Configuration (Home > Settings > General > Workflow Configuration).
Expand Samples.
Open Landing Page workflow.
Copy workflow.
Save new workflow.
Open Landing Page workflow.
Copy workflow.
Save new workflow. Note error: "Please correct the following: Workflow Number Prefix is already being used by another workflow type. Please use a unique prefix." The new workflow cannot be saved.
Open Position Approval workflow.
Copy workflow.
Save new workflow - note same error.
Delete 'Landing Page - Copy' workflow created above.
Run the SQL to confirm that there are no new workflow types: SELECT * FROM [ WorkflowType] ORDER BY Id DESC
Open Landing Page workflow.
Copy workflow and save new workflow - can now save.
Edit the 'Landing Page - Copy' workflow and change its name to anything.
Open Landing Page workflow.
Copy and Save. Note error. The name of the workflow does not make any difference.
Open Position Approval workflow.
Copy and Save. Note error.
Delete the copied and renamed workflow, so now there are no new workflows.
Open Position Approval workflow.
Copy and Save. Copy is successful.
Open the Landing Page workflow and try to copy. Note error.
Actual Behavior
It seems that if a workflow prior to the LAST workflow is copied, and is then copied again, that no new workflow copies can then be saved. This might not be the right description.
Expected Behavior
Copying a workflow should be entirely independent of any prior copying actions.
Steps to Reproduce
See above.
Issue Confirmation
Rock Version
Version 16.5 16.5 (1.16.5.4), and rockrmslatest
Client Culture Setting
Client Culture Setting: en-NZ, Browser settings Language = English (New Zealand).