workflow execution from Plugin

Here is quick sample code for workflow execution from Plugin …

Execute workflow …

Continue reading “workflow execution from Plugin”

MS CRM Plugin debugging

top-debugging-tips

To debug plugin, we have two ways, One is explained in below provided link, I will explain the other.

https://support.microsoft.com/en-us/kb/2778280

Continue reading “MS CRM Plugin debugging”

Sharing Records using a Workflow

We can not share records directly form out of box workflow, but by writing little code, its possible. That code with workflow is available on codeplex for free here are the links …

http://crm2011sharestep.codeplex.com/

http://crm2011workflowutils.codeplex.com/

In both of these plug-ins, an option to ‘share’ was produced as a step when creating your workflow. When the step is selected you are then able to select with whom (user or team) the record is to be shared with and what the default share permissions should be (e.g. read, write, delete). Similarly, you can have the step configured to remove all sharing or sharing with a specific user.