Workflow (Process) Entity Metadata
[Applies to: Microsoft Dynamics CRM 2011]
The following information is for the workflow (process) entity in a default, uncustomized installation of Microsoft Dynamics CRM. The schema name and early bound class for this entity is Workflow.
To view the entity metadata for your organization, install the Metadata Browser solution described in Browse the Metadata for Your Organization.
In This Topic
Entity Metadata
Privilege Metadata
Attribute Metadata
One-to-Many Relationships
Many-to-Many Relationships
Many-to-One Relationships
Entity Metadata
The following table shows the metadata for the workflow (process) entity.
Metadata property | Value |
---|---|
OTC |
4703 |
EntityLogicalName |
workflow |
DisplayName |
Process |
OwnershipType |
UserOwned |
IsCustomizable |
True |
Description |
Set of logical rules that define the steps necessary to automate a specific business process, task, or set of actions to be performed. |
IsAvailableOffline |
False |
IsAuditEnabled |
False |
AutoRouteToOwnerQueue |
False |
CanBeInManyToMany |
False |
CanBePrimaryEntityInRelationship |
True |
CanBeRelatedEntityInRelationship |
False |
CanCreateAttributes |
False |
CanCreateCharts |
False |
CanCreateForms |
False |
CanCreateViews |
False |
CanModifyAdditionalSettings |
True |
CanTriggerWorkflow |
False |
IsActivity |
False |
IsActivityParty |
False |
IsChildEntity |
False |
IsConnectionsEnabled |
canmodifyconnectionsettings |
IsCustomEntity |
False |
IsDocumentManagementEnabled |
False |
IsDuplicateDetectionEnabled |
False |
IsEnabledForCharts |
False |
IsImportable |
False |
IsIntersect |
False |
IsMailMergeEnabled |
False |
IsManaged |
True |
IsMappable |
False |
IsReadingPaneEnabled |
True |
IsRenameable |
False |
IsValidForAdvancedFind |
True |
IsValidForQueue |
False |
IsVisibleInMobile |
False |
PrimaryIdAttribute |
workflowid |
PrimaryNameAttribute |
name |
ReportViewName |
FilteredWorkflow |
RecurrenceBaseEntityLogicalName |
|
DisplayCollectionName |
Processes |
Privilege Metadata
The following table shows the privilege metadata for the workflow (process) entity.
PrivilegeName | Id | Type | CanBeBasic | CanBeDeep | CanBeGlobal | CanBeLocal |
---|---|---|---|---|---|---|
prvAppendToWorkflow |
6f54cea3-5b92-4507-952c-1e2430b7b1f9 |
AppendTo |
True |
True |
True |
True |
prvAppendWorkflow |
71b53683-e781-471f-b9c4-cdcaf62a0cc5 |
Append |
True |
True |
True |
True |
prvAssignWorkflow |
d0cd3ea7-83cd-4769-9ef7-35398d2e1243 |
Assign |
True |
True |
True |
True |
prvCreateWorkflow |
356f7a5a-5f9b-4a55-8398-b5732f6a08e5 |
Create |
True |
True |
True |
True |
prvDeleteWorkflow |
ed7e875d-9536-4d2c-a2f3-939a9d84f72c |
Delete |
True |
True |
True |
True |
prvReadWorkflow |
9d5e4741-3403-42d2-90b4-a561b3f94f52 |
Read |
True |
True |
True |
True |
prvShareWorkflow |
501786bc-f127-4c56-a4dc-02cc0325117d |
Share |
True |
True |
True |
True |
prvWriteWorkflow |
5f19703e-0b4a-451e-91e8-968929927820 |
Write |
True |
True |
True |
True |
Attribute Metadata
The following table shows the attribute metadata for the workflow (process) entity.
LogicalName | Description | Type | SchemaName | IsCustomAttribute | IsCustomizable | RequiredLevel | IsValidForCreate | IsValidForRead | IsValidForUpdate | CanBeSecuredForCreate | CanBeSecuredForRead | CanBeSecuredForUpdate | IsAuditEnabled | IsManaged | IsPrimaryId | IsPrimaryName | IsRenameable | IsSecured | IsValidForAdvancedFind | DisplayName | DeprecatedVersion |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
activeworkflowid |
Unique identifier of the latest activation record for the process. |
Lookup |
ActiveWorkflowId |
False |
True |
None |
False |
True |
False |
False |
False |
False |
True |
True |
False |
False |
False |
False |
True |
Active Process ID |
|
asyncautodelete |
Indicates whether the asynchronous system job is automatically deleted on completion. |
Boolean |
AsyncAutoDelete |
False |
True |
SystemRequired |
True |
True |
True |
False |
False |
False |
True |
True |
False |
False |
False |
False |
True |
Delete Job On Completion |
|
category |
Category of the process. |
Picklist |
Category |
False |
True |
SystemRequired |
True |
True |
False |
False |
False |
False |
True |
True |
False |
False |
False |
False |
True |
Category |
|
componentstate |
For internal use only. |
Picklist |
ComponentState |
False |
True |
SystemRequired |
False |
True |
False |
False |
False |
False |
False |
True |
False |
False |
False |
False |
False |
Component State |
|
createdby |
Unique identifier of the user who created the process. |
Lookup |
CreatedBy |
False |
False |
None |
False |
True |
False |
False |
False |
False |
False |
True |
False |
False |
False |
False |
True |
Created By |
|
createdon |
Date and time when the process was created. |
DateTime |
CreatedOn |
False |
False |
None |
False |
True |
False |
False |
False |
False |
False |
True |
False |
False |
False |
False |
True |
Created On |
|
createdonbehalfby |
Unique identifier of the delegate user who created the process. |
Lookup |
CreatedOnBehalfBy |
False |
True |
None |
False |
True |
False |
False |
False |
False |
False |
True |
False |
False |
False |
False |
True |
Created By (Delegate) |
|
description |
Description of the process. |
Memo |
Description |
False |
True |
None |
True |
True |
True |
False |
False |
False |
True |
True |
False |
False |
False |
False |
True |
Description |
|
inputparameters |
Input parameters to the process. |
Memo |
InputParameters |
False |
True |
None |
True |
True |
True |
False |
False |
False |
True |
True |
False |
False |
False |
False |
True |
Input Parameters |
|
iscrmuiworkflow |
Indicates whether the process was created using the Microsoft Dynamics CRM Web application. |
Boolean |
IsCrmUIWorkflow |
False |
True |
None |
False |
True |
False |
False |
False |
False |
True |
True |
False |
False |
False |
False |
False |
Is CRM Process |
|
iscustomizable |
Information that specifies whether this component can be customized. |
ManagedProperty |
IsCustomizable |
False |
False |
SystemRequired |
True |
True |
True |
False |
False |
False |
False |
True |
False |
False |
False |
False |
False |
Customizable |
|
ismanaged |
Indicates whether the solution component is part of a managed solution. |
Boolean |
IsManaged |
False |
True |
SystemRequired |
False |
True |
False |
False |
False |
False |
True |
True |
False |
False |
False |
False |
True |
Is Managed |
|
languagecode |
Language of the process. |
Integer |
LanguageCode |
False |
True |
None |
True |
True |
False |
False |
False |
False |
True |
True |
False |
False |
False |
False |
True |
Language |
|
modifiedby |
Unique identifier of the user who last modified the process. |
Lookup |
ModifiedBy |
False |
False |
None |
False |
True |
False |
False |
False |
False |
False |
True |
False |
False |
False |
False |
True |
Modified By |
|
modifiedon |
Date and time when the process was last modified. |
DateTime |
ModifiedOn |
False |
False |
None |
False |
True |
False |
False |
False |
False |
False |
True |
False |
False |
False |
False |
True |
Modified On |
|
modifiedonbehalfby |
Unique identifier of the delegate user who last modified the process. |
Lookup |
ModifiedOnBehalfBy |
False |
True |
None |
False |
True |
False |
False |
False |
False |
False |
True |
False |
False |
False |
False |
True |
Modified By (Delegate) |
|
name |
Name of the process. |
String |
Name |
False |
True |
SystemRequired |
True |
True |
True |
False |
False |
False |
True |
True |
False |
True |
False |
False |
True |
Process Name |
|
ondemand |
Indicates whether the process is able to run as an on-demand process. |
Boolean |
OnDemand |
False |
True |
None |
True |
True |
True |
False |
False |
False |
True |
True |
False |
False |
False |
False |
True |
Run as OnDemand |
|
overwritetime |
For internal use only. |
DateTime |
OverwriteTime |
False |
True |
SystemRequired |
False |
True |
False |
False |
False |
False |
False |
True |
False |
False |
False |
False |
False |
Record Overwrite Time |
|
ownerid |
Unique identifier of the user or team who owns the process. |
Owner |
OwnerId |
False |
True |
SystemRequired |
True |
True |
False |
False |
False |
False |
True |
True |
False |
False |
False |
False |
True |
Owner |
|
owningbusinessunit |
Unique identifier of the business unit that owns the process. |
Lookup |
OwningBusinessUnit |
False |
True |
None |
False |
True |
False |
False |
False |
False |
False |
True |
False |
False |
False |
False |
True |
Owning Business Unit |
|
owningteam |
Unique identifier of the team who owns the process. |
Lookup |
OwningTeam |
False |
True |
None |
False |
True |
False |
False |
False |
False |
False |
True |
False |
False |
False |
False |
False |
Owning Team |
|
owninguser |
Unique identifier of the user who owns the process. |
Lookup |
OwningUser |
False |
True |
None |
False |
True |
False |
False |
False |
False |
False |
True |
False |
False |
False |
False |
False |
Owning User |
|
parentworkflowid |
Unique identifier of the definition for process activation. |
Lookup |
ParentWorkflowId |
False |
True |
None |
False |
True |
False |
False |
False |
False |
True |
True |
False |
False |
False |
False |
True |
Parent Process ID |
|
plugintypeid |
Unique identifier of the plug-in type. |
Lookup |
PluginTypeId |
False |
True |
None |
False |
True |
False |
False |
False |
False |
True |
True |
False |
False |
False |
False |
False |
||
primaryentity |
Primary entity for the process. The process can be associated for one or more SDK operations defined on the primary entity. |
EntityName |
PrimaryEntity |
False |
True |
SystemRequired |
True |
True |
False |
False |
False |
False |
True |
True |
False |
False |
False |
False |
True |
Primary Entity |
|
scope |
Scope of the process. |
Picklist |
Scope |
False |
True |
SystemRequired |
True |
True |
True |
False |
False |
False |
True |
True |
False |
False |
False |
False |
True |
Scope |
|
solutionid |
Unique identifier of the associated solution. |
Uniqueidentifier |
SolutionId |
False |
False |
SystemRequired |
False |
True |
False |
False |
False |
False |
False |
True |
False |
False |
False |
False |
False |
Solution |
|
statecode |
Status of the process. |
State |
StateCode |
False |
True |
SystemRequired |
False |
True |
False |
False |
False |
False |
True |
True |
False |
False |
False |
False |
True |
Status |
|
statuscode |
Additional information about status of the process. |
Status |
StatusCode |
False |
True |
None |
True |
True |
True |
False |
False |
False |
True |
True |
False |
False |
False |
False |
True |
Status Reason |
|
subprocess |
Indicates whether the process can be included in other processes as a child process. |
Boolean |
Subprocess |
False |
True |
None |
True |
True |
True |
False |
False |
False |
True |
True |
False |
False |
False |
False |
True |
Is Child Process |
|
supportingsolutionid |
For internal use only. |
Uniqueidentifier |
SupportingSolutionId |
False |
False |
None |
False |
False |
False |
False |
False |
False |
False |
True |
False |
False |
False |
False |
False |
Solution |
|
triggeroncreate |
Indicates whether the process will be triggered when the primary entity is created. |
Boolean |
TriggerOnCreate |
False |
True |
None |
True |
True |
True |
False |
False |
False |
True |
True |
False |
False |
False |
False |
True |
Trigger On Create |
|
triggerondelete |
Indicates whether the process will be triggered on deletion of the primary entity. |
Boolean |
TriggerOnDelete |
False |
True |
None |
True |
True |
True |
False |
False |
False |
True |
True |
False |
False |
False |
False |
True |
Trigger On Delete |
|
triggeronupdateattributelist |
Attributes that trigger the process when updated. |
Memo |
TriggerOnUpdateAttributeList |
False |
True |
None |
True |
True |
True |
False |
False |
False |
True |
True |
False |
False |
False |
False |
True |
Trigger On Update Attribute List |
|
type |
Type of the process. |
Picklist |
Type |
False |
True |
SystemRequired |
True |
True |
True |
False |
False |
False |
True |
True |
False |
False |
False |
False |
True |
Type |
|
workflowid |
Unique identifier of the process. |
Uniqueidentifier |
WorkflowId |
False |
False |
SystemRequired |
True |
True |
False |
False |
False |
False |
False |
True |
True |
False |
False |
False |
True |
Process |
|
workflowidunique |
For internal use only. |
Uniqueidentifier |
WorkflowIdUnique |
False |
False |
SystemRequired |
False |
True |
False |
False |
False |
False |
False |
True |
False |
False |
False |
False |
False |
||
xaml |
XAML that defines the process. |
Memo |
Xaml |
False |
False |
ApplicationRequired |
True |
True |
True |
False |
False |
False |
False |
True |
False |
False |
False |
False |
False |
One-to-Many Relationships
The following table shows the entities that are the referencing entity in a one-to-many relationship for the workflow (process) entity.
Relationship schema name | Referencing entity |
---|---|
Workflow_Annotation |
annotation |
lk_asyncoperation_workflowactivationid |
asyncoperation |
lk_processsession_processid |
processsession |
userentityinstancedata_workflow |
userentityinstancedata |
workflow_parent_workflow |
workflow |
workflow_active_workflow |
workflow |
workflow_dependencies |
workflowdependency |
Many-to-Many Relationships
There are no many-to-many relationships for the workflow (process) entity.
Many-to-One Relationships
The following table shows the entities that are the referenced entity in a many-to-one relationship for the workflow (process) entity.
Relationship schema name | Referenced entity |
---|---|
business_unit_workflow |
businessunit |
owner_workflows |
owner |
workflow_modifiedby |
systemuser |
workflow_createdonbehalfby |
systemuser |
system_user_workflow |
systemuser |
workflow_createdby |
systemuser |
workflow_modifiedonbehalfby |
systemuser |
team_workflow |
team |
workflow_active_workflow |
workflow |
workflow_parent_workflow |
workflow |
See Also
Reference
EntityMetadata
AttributeMetadata
OneToManyRelationshipMetadata
ManyToManyRelationshipMetadata
Concepts
Workflow (Process) Entity Messages and Methods
Workflow (Process) Entity Privileges
Microsoft Dynamics CRM 2011
Send comments about this topic to Microsoft.
© 2013 Microsoft Corporation. All rights reserved.