calmaguer
Forms Fledgling

I made a copy of my list to use as a test environment and when I create an entry, prod workflows are running on it. What did I do wrong?

I have a Production list (with lots of workflows running) and I saved it as a template and created a new List and called it Test, so I can test workflow functionality without messing up my Production data/list.  Both lists are on the same Sharepoint site.

The Test list has no workflows at all.  Workflow gallery is empty.

When I create a new list item in the Test list, list (not site) workflows from the PRODUCTION list begin running on the new item.

What the heck did I do here?

0 Kudos
Reply
3 Replies
xMikeX
Automation Master
Automation Master

Re: I made a copy of my list to use as a test environment and when I create an entry, prod workflows are running on it. What did I do wrong?

Hello,

When you make a list template of a list that contains workflows, the workflows get carried over but they are invisible to the Nintex designer. I like to refer to these as "ghost flows".   The good news is you didn't do anything wrong.

Thanks

Mike

0 Kudos
Reply
xMikeX
Automation Master
Automation Master

Re: I made a copy of my list to use as a test environment and when I create an entry, prod workflows are running on it. What did I do wrong?

See if this solution works for you as well:  

0 Kudos
Reply
rangelin
Forms Fledgling

Re: I made a copy of my list to use as a test environment and when I create an entry, prod workflows

I like solutions, don't you? I ran into this exact issue but found no solutions here even though this is a very old post. I did find out how to solve it. So I would like to share. 

 

I can reproduce this issue two ways. 

1. On a list with a Nintex Form and a Nintex Workflow I create a list template. Then I recreate the list some where else in SharePoint using the list template.

2. Or, I use Content Matrix to copy the list to another site somewhere else in SharePoint. 

 

The Nintex Form always transfers very nicely with the list. All you have to do on the new list is edit the Nintex Form and then publish it and you are all set. But the Nintex workflow is an entirely different story. When you click on Workflow Settings \ Manage Workflows with Nintex Workflows you have no workflows listed. But when you create an item in the new list it somehow magically runs the workflow from the original list. 

 

So what is happening here is that it is copying the reference to the workflow along with the list. When you create a record it is running that reference to the original workflow. You just need to delete the reference. How? Go to Workflow Settings and click on Workflow Settings...the first item on the drop down menu. You will see that it has a reference to the original workflow. Just click on "Remove, Block or Restore a Workflow". Then you can select "Remove" beside the workflow and OK to delete the reference. 

 

rangelin_0-1632255516266.png

rangelin_1-1632255593356.png

 

 

0 Kudos
Reply