Workflow – CRM Kitchen http://crmkitchen.com Microsoft Dynamic CRM Tue, 25 Oct 2016 14:58:06 +0000 en-US hourly 1 https://wordpress.org/?v=4.6.1 Trigger a Workflow on CRM 2015 using C# http://crmkitchen.com/trigger-workflow-crm-2015-using-c/ http://crmkitchen.com/trigger-workflow-crm-2015-using-c/#respond Thu, 09 Jul 2015 20:24:39 +0000 http://crmkitchen.com/?p=179 If you want to run/trigger a workflow, you can execute a workflow programmatically with following request : [crayon-5867e96bd9d47377671664/] Also this request is supported by Microsoft Dynamics CRM 2015 and Microsoft Dynamics CRM Online 2015 Update. Source : https://msdn.microsoft.com/en-us/library/gg309600.aspx

The post Trigger a Workflow on CRM 2015 using C# appeared first on CRM Kitchen.

]]>
If you want to run/trigger a workflow, you can execute a workflow programmatically with following request :

// Create an ExecuteWorkflow request.
ExecuteWorkflowRequest request = new ExecuteWorkflowRequest()
           {
             WorkflowId = _workflowId,
             EntityId = _leadId
           }; 
// Execute the workflow.
ExecuteWorkflowResponse response = 
(ExecuteWorkflowResponse)_serviceProxy.Execute(request);

Also this request is supported by Microsoft Dynamics CRM 2015 and Microsoft Dynamics CRM Online 2015 Update.

Source : https://msdn.microsoft.com/en-us/library/gg309600.aspx

The post Trigger a Workflow on CRM 2015 using C# appeared first on CRM Kitchen.

]]>
http://crmkitchen.com/trigger-workflow-crm-2015-using-c/feed/ 0