In this post I am going to share my recent experience with workflows in Dynamics 365.
When I search for the processes and look for the workflows in Advanced find then I got a little surprise that I am seeing multiple workflows with same name. This happened on all our working & testing environments too.
Then I started analyzing the same why it was like that. The First thing I observed (most Interesting thing) that was, there are only 2 Copies of them are in Active and all Other are in Draft Mode.
Still I continued my Investigation and collected more information from MS team about the same.
This is normal behavior for Dynamics 365. The ‘Process’ table, which holds the workflow records. What we are seeing are not duplicate workflows, but rather different versions of the same workflow. This is a standard feature of Dynamics 365 designed to maintain a history of changes to workflows. Each time a workflow is updated and imported, a new version is created and set to active, while the previous versions are set to draft.
For the two Activated workflow instances, one is for the workflow record itself and is of type Definition, while, the other instances are of type Activation. All Other are Draft versions of Previous Activation copy.
If the presence of these draft versions is causing confusion or clutter, they can be manually deleted from the system. Please be careful not to delete the active version of the workflow, as this is the most recent and operational version.
This clarifies the situation.
I hope this helps!