TechNet
Export (0) Print
Expand All

IWorkflowContext Interface

 

Provides access to the data associated with the process instance.

Namespace:   Microsoft.Xrm.Sdk.Workflow
Assembly:  Microsoft.Xrm.Sdk.Workflow (in Microsoft.Xrm.Sdk.Workflow.dll)

public interface IWorkflowContext : IExecutionContext

NameDescription
System_CAPS_pubpropertyBusinessUnitId

Gets the GUIDGUID of the business unit that the user making the request, also known as the calling user, belongs to.(Inherited from IExecutionContext.)

System_CAPS_pubpropertyCorrelationId

Gets the GUID for tracking plug-in or custom workflow activity execution. (Inherited from IExecutionContext.)

System_CAPS_pubpropertyDepth

Gets the current depth of execution in the call stack.(Inherited from IExecutionContext.)

System_CAPS_pubpropertyInitiatingUserId

Gets the GUID of the system user account under which the current pipeline is executing.(Inherited from IExecutionContext.)

System_CAPS_pubpropertyInputParameters

Gets the parameters of the request message that triggered the event that caused the plug-in to execute.(Inherited from IExecutionContext.)

System_CAPS_pubpropertyIsExecutingOffline

Gets whether the plug-in is executing from the Microsoft Dynamics CRM for Microsoft Office Outlook with Offline Access client while it is offline. (Inherited from IExecutionContext.)

System_CAPS_pubpropertyIsInTransaction

Gets a value indicating if the plug-in is executing within the database transaction.(Inherited from IExecutionContext.)

System_CAPS_pubpropertyIsOfflinePlayback

Gets a value indicating if the plug-in is executing as a result of the Microsoft Dynamics CRM for Microsoft Office Outlook with Offline Access client transitioning from offline to online and synchronizing with the Microsoft Dynamics CRM server.(Inherited from IExecutionContext.)

System_CAPS_pubpropertyIsolationMode

Gets a value indicating if the plug-in is executing in the sandbox.(Inherited from IExecutionContext.)

System_CAPS_pubpropertyMessageName

Gets the name of the Web service message that is being processed by the event execution pipeline.(Inherited from IExecutionContext.)

System_CAPS_pubpropertyMode

Gets the mode of plug-in execution.(Inherited from IExecutionContext.)

System_CAPS_pubpropertyOperationCreatedOn

Gets the date and time that the related System Job was created.(Inherited from IExecutionContext.)

System_CAPS_pubpropertyOperationId

Gets the GUID of the related System Job.(Inherited from IExecutionContext.)

System_CAPS_pubpropertyOrganizationId

Gets the GUID of the organization that the entity belongs to and the plug-in executes under.(Inherited from IExecutionContext.)

System_CAPS_pubpropertyOrganizationName

Gets the unique name of the organization that the entity currently being processed belongs to and the plug-in executes under.(Inherited from IExecutionContext.)

System_CAPS_pubpropertyOutputParameters

Gets the parameters of the response message after the core platform operation has completed.(Inherited from IExecutionContext.)

System_CAPS_pubpropertyOwningExtension

Gets a reference to the related SdkMessageProcessingingStep or ServiceEndpoint.(Inherited from IExecutionContext.)

System_CAPS_pubpropertyParentContext

Gets the parent context.

System_CAPS_pubpropertyPostEntityImages

Gets the properties of the primary entity after the core platform operation has been completed.(Inherited from IExecutionContext.)

System_CAPS_pubpropertyPreEntityImages

Gets the properties of the primary entity before the core platform operation has begins.(Inherited from IExecutionContext.)

System_CAPS_pubpropertyPrimaryEntityId

Gets the GUID of the primary entity for which the pipeline is processing events.(Inherited from IExecutionContext.)

System_CAPS_pubpropertyPrimaryEntityName

Gets the name of the primary entity for which the pipeline is processing events.(Inherited from IExecutionContext.)

System_CAPS_pubpropertyRequestId

Gets the GUID of the request being processed by the event execution pipeline.(Inherited from IExecutionContext.)

System_CAPS_pubpropertySecondaryEntityName

Gets the name of the secondary entity that has a relationship with the primary entity.(Inherited from IExecutionContext.)

System_CAPS_pubpropertySharedVariables

Gets the custom properties that are shared between plug-ins.(Inherited from IExecutionContext.)

System_CAPS_pubpropertyStageName

Gets the stage information of the process instance.

System_CAPS_pubpropertyUserId

Gets the GUID of the system user for whom the plug-in invokes web service methods on behalf of.(Inherited from IExecutionContext.)

System_CAPS_pubpropertyWorkflowCategory

Gets the process category information of the process instance: workflow or dialog.

System_CAPS_pubpropertyWorkflowMode

Indicates how the workflow is to be executed.

Return to top

Microsoft Dynamics CRM 2016 and CRM Online

© 2016 Microsoft. All rights reserved. Copyright

Community Additions

Show:
© 2016 Microsoft