Export (0) Print
Expand All

IWorkflowContext Interface (Sdk Assembly)

banner art

[Applies to: Microsoft Dynamics CRM 4.0]

Provides access to the data associated with workflow instance.

The IWorkflowContext interface exposes the following members.

Instance MethodDescription
CreateCrmServiceCreates an instance of CrmService to be used by workflow activities.
CreateMetadataServiceCreates an instance of MetadataService to be used by workflow activities.
EvaluateConditionEvaluates a workflow condition using given a condition operator, primaryValue, and additional values.
EvaluateExpressionEvaluates an expression.
PopulateEntitiesFrom 
RetrieveActivityCountRetrieves the activity count for the current primary entity.

Instance PropertyDescription
ActivationId 
AsyncOperationIdGets the ID of the asynchronous operation (system job) for the workflow.
EntityDependenciesGets the collection of entity dependencies for the workflow.
InputParametersGets the input parameters for the workflow.
MessageName 
OrganizationIdGets the ID of the organization for the workflow.
OutputParametersGets the output parameters for the workflow.
PluginTypeIdGets the ID of the plug-in type.
PrimaryEntityIdGets the ID of the primary entity.
PrimaryEntityImage 
PrimaryEntityNameGets the name of the primary entity for the workflow.
PrimaryEntityPostImage 
PrimaryEntityPreImage 
SharedVariables 
StageName 
UserIdGets the ID of the system user account under which the current workflow is executing.

Requirements

Namespace: Microsoft.Crm.Workflow

Assembly: Microsoft.Crm.Sdk.dll

See Also

Reference


© 2010 Microsoft Corporation. All rights reserved.


Show:
© 2014 Microsoft