workflow execution from Plugin

Here is quick sample code for workflow execution from Plugin ... Execute workflow ... /// <summary> /// Execute porcess /// </summary> /// <param name="entityId"></param> /// <param name="service"></param> /// <param name="workflowId"></param> private static void ExecuteProcess(IOrganizationService service, Guid entityId, Guid workflowId) { ExecuteWorkflowRequest request = new ExecuteWorkflowRequest() { WorkflowId = workflowId, EntityId = entityId }; // Execute … Continue reading workflow execution from Plugin

Advertisements

Editable Grid on Form and Workflow issue

In the earlier post, it's explained that how to make a view to be editable (Click here to explore that article). In this post, I will explain how to make any entity grid editable on form where it has been used as Sub-grid. Its as well a simple configuration, here are the steps for it, … Continue reading Editable Grid on Form and Workflow issue

MS CRM Plugin debugging

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 debugging plugin in above provided way is good but still its not that handy, and we need exception for that . But don't we have any other way fro this?..   Yes, we have .. … 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 … Continue reading Sharing Records using a Workflow