IWorkflowContext Members
Applies To: Microsoft Dynamics CRM 2013, Microsoft Dynamics CRM Online
Provides access to the data associated with the process instance.
The following tables list the members exposed by the IWorkflowContext type.
Public Properties
Name | Description | |
---|---|---|
BusinessUnitId | Gets the GUIDGUID of the business unit that the user making the request, also known as the calling user, belongs to. (inherited from IExecutionContext) | |
CorrelationId | Gets the GUID for tracking plug-in or custom workflow activity execution. (inherited from IExecutionContext) | |
Depth | Gets the current depth of execution in the call stack. (inherited from IExecutionContext) | |
InitiatingUserId | Gets the GUID of the system user account under which the current pipeline is executing. (inherited from IExecutionContext) | |
InputParameters | Gets the parameters of the request message that triggered the event that caused the plug-in to execute. (inherited from IExecutionContext) | |
IsExecutingOffline | 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) | |
IsInTransaction | Gets a value indicating if the plug-in is executing within the database transaction. (inherited from IExecutionContext) | |
IsOfflinePlayback | 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) | |
IsolationMode | Gets a value indicating if the plug-in is executing in the sandbox. (inherited from IExecutionContext) | |
MessageName | Gets the name of the Web service message that is being processed by the event execution pipeline. (inherited from IExecutionContext) | |
Mode | Gets the mode of plug-in execution. (inherited from IExecutionContext) | |
OperationCreatedOn | Gets the date and time that the related System Job was created. (inherited from IExecutionContext) | |
OperationId | Gets the GUID of the related System Job. (inherited from IExecutionContext) | |
OrganizationId | Gets the GUID of the organization that the entity belongs to and the plug-in executes under. (inherited from IExecutionContext) | |
OrganizationName | Gets the unique name of the organization that the entity currently being processed belongs to and the plug-in executes under. (inherited from IExecutionContext) | |
OutputParameters | Gets the parameters of the response message after the core platform operation has completed. (inherited from IExecutionContext) | |
OwningExtension | Gets a reference to the related SdkMessageProcessingingStep or ServiceEndpoint. (inherited from IExecutionContext) | |
ParentContext | Gets the parent context. | |
PostEntityImages | Gets the properties of the primary entity after the core platform operation has been completed. (inherited from IExecutionContext) | |
PreEntityImages | Gets the properties of the primary entity before the core platform operation has begins. (inherited from IExecutionContext) | |
PrimaryEntityId | Gets the GUID of the primary entity for which the pipeline is processing events. (inherited from IExecutionContext) | |
PrimaryEntityName | Gets the name of the primary entity for which the pipeline is processing events. (inherited from IExecutionContext) | |
RequestId | Gets the GUID of the request being processed by the event execution pipeline. (inherited from IExecutionContext) | |
SecondaryEntityName | Gets the name of the secondary entity that has a relationship with the primary entity. (inherited from IExecutionContext) | |
SharedVariables | Gets the custom properties that are shared between plug-ins. (inherited from IExecutionContext) | |
StageName | Gets the stage information of the process instance. | |
UserId | Gets the GUID of the system user for whom the plug-in invokes web service methods on behalf of. (inherited from IExecutionContext) | |
WorkflowCategory | Gets the process category information of the process instance: workflow or dialog. | |
WorkflowMode | Indicates how the workflow is to be executed. |
Top
See Also
Reference
IWorkflowContext Interface
Microsoft.Xrm.Sdk.Workflow Namespace
Other Resources
Use the IOrganization Web Service in a Custom Workflow Activity
Sample: Azure Aware Custom Workflow Activity
Sample: Create a Custom Activity
Sample: Update Next Birthday Using a Custom Workflow Activity
Send comments about this topic to Microsoft.
© 2013 Microsoft Corporation. All rights reserved.