Duplicate workflows in advanced find – CRM 365

While searching for the process in the Advanced Find of my MS Dynamics CRM 365 environment, I noticed that several “duplicates” of the process appeared. Although they had the same name, some of them were in Draft Mode and two were Active. One curious thing that I saw was few processes are same logic and steps, also, whenever I did a change in one of my Active workflow/business rule, the other was replicating the change. This made me had a hard time trying to figure out what was happening, specially because after searching the duplicates in the Default solution to delete them, only one appeared.

As well, one more observation is only one of them was getting executed on triggering of the process, for e.g. one of my process was responsible to send email, it had 4 duplicates but I found only one email has been created.

Searching on internet, I found that whenever you Activate or publish a process, a snapshot of the process is also created. This was the reason of why I had several “duplicates”, because in the past I did Activate/Deactivate the process several times and many snapshots were created. To get the correct “version” of the process, I just had to add a filter by searching for Type = Definition. With this, I ensured that the process that I was getting was the latest one and not an old snapshot.

Hope it helps.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s