latest Post

Dynamics365 - Copy Workflows or Change Workflow Component Type

Recently we came across the need to change a workflow from a managed component to unmanaged. (I won't go into the reasons for needing to do this) The workflow was quite large and had many steps. (20 +) with some complex logic so I didn't want to just recreate the workflow. This is something that has always frustrated me with Dynamics CRM that you cannot clone workflows, change the step sequence or change conditionally nested if logic without recreating the workflow from scratch.

Anyway, due to the sheer desire for not wanting to spend time recreating the workflow, I found the following workaround of using a workflow template in order to get my managed workflow to unmanaged. This can also be used to copy workflows.

1.) Open up your existing workflow and change "Activate as" option set field from "Process" to  "Process Template" and save and close the record.



2.) Now create a new process but instead of selecting "New BlankProcess" we can select the "New process from an existing template" radio button and then choose the template we just created in the previous step and click ok.



3.) A new draft workflow will then be created identical to the template. In my case this was in order to get the component in an unmanaged state therefore once the new workflow was created I deleted the old process which I had changed to a template. 

This is really useful if you want to have several workflows which are only slightly different or like me wanted to change the component type. Hopefully, in future releases, Microsoft will make this more flexible and allow us to change the order of the steps inside the workflows without needing to redo each step.

Recommended Posts × +

2 comments:

  1. my partner and I have been trying for a baby for over two years now, We were going to a fertility clinic for about 5 months before somebody at baby center told us to contact this spell caster who is so powerful, We contacted him at this email; babaka.wolf@gmail.com or Facebook at priest.babaka , for him to help us, then we told him our problem, he told us that we will conceive once we follow his instructions ,but after two years of trying we were at a point where we were willing to try anything. And I'm glad we came to Priest Babaka, Because his pregnancy spell cast and herbal remedy help us, and I honestly believe him, and his gods really helped us as well, I am thankful for all he has done. contact him via email: babaka.wolf@gmail.com or Facebook at priest.babaka if you are trying to have a baby or want your lover back. he has powers to do it, he has done mine

    ReplyDelete
  2. I really want to thank Dr Emu for saving my marriage. My wife really treated me badly and left home for almost 3 month this got me sick and confused. Then I told my friend about how my wife has changed towards me. Then she told me to contact Dr Emu that he will help me bring back my wife and change her back to a good woman. I never believed in all this but I gave it a try. Dr Emu casted a spell of return of love on her, and my wife came back home for forgiveness and today we are happy again. If you are going through any relationship stress or you want back your Ex or Divorce husband you can contact his whatsapp +2347012841542 or email emutemple@gmail.com website: Https://emutemple.wordpress.com/ Https://web.facebook.com/Emu-Temple-104891335203341

    ReplyDelete