Recently I was conducting a training where I was demoing on how to debug a Custom Workflow activity step using the profiler in plugin registration tool. So here I was explaining to them to first click on “Profile Workflow” button on the plugin registration tool. For starters, here it is in the screenshot below
And as I said – “Select your workflow”, I suddenly see a hand raised informing me that he is not able to view the workflow created by him.
Verified with all other’s and they are able to see the their respective workflows.
I just thought – “Must be some silly error.” But I was soon to be proved wrong.
Situations like this could be tough when asked all of a sudden. But my memory didn’t reach came to my rescue this time. I realized that while playing with the workflow, he has changed the owner of the workflow to someone else. And hence the workflow is not showing up in the workflow profiler.
So remember, if you are profiling a workflow, make sure the user with whom you have logged in to Plugin Registration Tool and the the owner of the workflow, should be the same person. Otherwise the workflow won’t simply appear in the ‘Profile Workflow’ list.
Hope this helps and saves you some time before you waste couple of hours in this.
-Debajit Dutta (Dynamics MVP)