Share via


OrganizationServiceContextExtensions.ExecuteWorkflow Method (OrganizationServiceContext, Guid, Guid)

 

Applies To: Dynamics CRM 2015

Executes a workflow. (Developer Extensions)

Namespace:   Microsoft.Xrm.Client.Messages
Assembly:  Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)

Syntax

public static Guid ExecuteWorkflow(
    this OrganizationServiceContext context,
    Guid entityId,
    Guid workflowId
)
public:
[ExtensionAttribute]
static Guid ExecuteWorkflow(
    OrganizationServiceContext^ context,
    Guid entityId,
    Guid workflowId
)
static member ExecuteWorkflow : 
        context:OrganizationServiceContext *
        entityId:Guid *
        workflowId:Guid -> Guid
<ExtensionAttribute>
Public Shared Function ExecuteWorkflow (
    context As OrganizationServiceContext,
    entityId As Guid,
    workflowId As Guid
) As Guid

Parameters

Return Value

Type: System.Guid

Returns Guid.

Remarks

This is a method wrapper for the ExecuteWorkflowRequest and ExecuteWorkflowResponse classes. See the documentation in the Request class for more information about this message.

See Also

OrganizationServiceContextExtensions Class
Microsoft.Xrm.Client.Messages Namespace
Developer extensions for Microsoft Dynamics CRM 2015

Return to top

© 2017 Microsoft. All rights reserved. Copyright