ProcessSession (Dialog Session) Entity Metadata

[Applies to: Microsoft Dynamics CRM 2011]

The following information is for the process session (dialog session) entity in a default, uncustomized installation of Microsoft Dynamics CRM. The schema name and early bound class for this entity is ProcessSession.

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 process session (dialog session) entity.

Metadata property Value

OTC

4710

EntityLogicalName

processsession

DisplayName

Dialog Session

OwnershipType

UserOwned

IsCustomizable

True

Description

Information that is generated when a dialog is run. Every time that you run a dialog, a dialog session is created.

IsAvailableOffline

False

IsAuditEnabled

False

AutoRouteToOwnerQueue

False

CanBeInManyToMany

False

CanBePrimaryEntityInRelationship

False

CanBeRelatedEntityInRelationship

False

CanCreateAttributes

False

CanCreateCharts

False

CanCreateForms

False

CanCreateViews

True

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

processsessionid

PrimaryNameAttribute

name

ReportViewName

FilteredProcessSession

RecurrenceBaseEntityLogicalName

DisplayCollectionName

Dialog Sessions

Privilege Metadata

The following table shows the privilege metadata for the process session (dialog session) entity.

PrivilegeName Id Type CanBeBasic CanBeDeep CanBeGlobal CanBeLocal

prvAppendToWorkflowSession

e55f57ad-2df4-11df-a824-001cc4661706

AppendTo

True

True

True

True

prvAppendWorkflowSession

e55f57ac-2df4-11df-a824-001cc4661706

Append

True

True

True

True

prvAssignWorkflowSession

e55f57af-2df4-11df-a824-001cc4661706

Assign

True

True

True

True

prvCreateWorkflowSession

e55f57a8-2df4-11df-a824-001cc4661706

Create

True

True

True

True

prvDeleteWorkflowSession

e55f57ab-2df4-11df-a824-001cc4661706

Delete

True

True

True

True

prvReadWorkflowSession

e55f57a9-2df4-11df-a824-001cc4661706

Read

True

True

True

True

prvShareWorkflowSession

e55f57ae-2df4-11df-a824-001cc4661706

Share

True

True

True

True

prvWriteWorkflowSession

e55f57aa-2df4-11df-a824-001cc4661706

Write

True

True

True

True

Attribute Metadata

The following table shows the attribute metadata for the process session (dialog session) entity.

LogicalName Description Type SchemaName IsCustomAttribute IsCustomizable RequiredLevel IsValidForCreate IsValidForRead IsValidForUpdate CanBeSecuredForCreate CanBeSecuredForRead CanBeSecuredForUpdate IsAuditEnabled IsManaged IsPrimaryId IsPrimaryName IsRenameable IsSecured IsValidForAdvancedFind DisplayName DeprecatedVersion

activityname

Name of the activity that is being executed.

String

ActivityName

False

True

None

True

True

True

False

False

False

True

True

False

False

False

False

False

Activity Name

canceledby

Unique identifier of the user who canceled the dialog session.

Lookup

CanceledBy

False

True

None

False

True

False

False

False

False

True

True

False

False

False

False

True

Canceled By

canceledon

Date and time when the dialog session was canceled.

DateTime

CanceledOn

False

True

None

False

True

True

False

False

False

True

True

False

False

False

False

True

Canceled On

comments

User comments.

Memo

Comments

False

True

None

True

True

True

False

False

False

True

True

False

False

False

False

True

Comments

completedby

Unique identifier of the user who completed the dialog session.

Lookup

CompletedBy

False

True

None

False

True

False

False

False

False

True

True

False

False

False

False

True

Completed By

completedon

Date and time when the dialog session was completed.

DateTime

CompletedOn

False

True

None

False

True

True

False

False

False

True

True

False

False

False

False

True

Completed On

createdby

Unique identifier of the user who started the dialog session.

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 dialog session 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 dialog session.

Lookup

CreatedOnBehalfBy

False

True

None

False

True

False

False

False

False

False

True

False

False

False

False

True

Created By (Delegate)

errorcode

Error code related to the dialog session.

Integer

ErrorCode

False

True

None

True

True

True

False

False

False

True

True

False

False

False

False

False

Error Code

executedby

Unique identifier of the user who ran the dialog process.

Lookup

ExecutedBy

False

True

None

True

True

True

False

False

False

True

True

False

False

False

False

True

Executed By

executedon

Date and time when the dialog process was run.

DateTime

ExecutedOn

False

True

None

False

True

False

False

False

False

True

True

False

False

False

False

True

Executed On

inputarguments

Input arguments for the child dialog process.

Memo

InputArguments

False

True

None

True

True

False

False

False

False

True

True

False

False

False

False

False

Input Arguments

modifiedby

Unique identifier of the user who last modified the dialog session.

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 dialog session 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 modified the dialog session.

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 dialog session.

String

Name

False

True

None

True

True

True

False

False

False

True

True

False

True

False

False

True

Name

nextlinkedsessionid

Unique identifier of the succeeding linked dialog session.

Lookup

NextLinkedSessionId

False

True

None

True

True

True

False

False

False

True

True

False

False

False

False

True

Next Linked Session

originatingsessionid

Unique identifier of the originating dialog session.

Lookup

OriginatingSessionId

False

True

None

True

True

False

False

False

False

True

True

False

False

False

False

True

Originating Session

ownerid

Unique identifier of the user or team who owns the dialog session.

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 dialog session.

Lookup

OwningBusinessUnit

False

True

None

False

True

False

False

False

False

False

True

False

False

False

False

False

Owning Business Unit

owningteam

Unique identifier of the team who owns the dialog session.

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 dialog session.

Lookup

OwningUser

False

True

None

False

True

False

False

False

False

False

True

False

False

False

False

False

Owning User

previouslinkedsessionid

Unique identifier of the preceding linked dialog session.

Lookup

PreviousLinkedSessionId

False

True

None

True

True

False

False

False

False

True

True

False

False

False

False

True

Previous Linked Session

processid

Unique identifier of the process activation record that is related to the dialog session.

Lookup

ProcessId

False

True

None

True

True

False

False

False

False

True

True

False

False

False

False

False

Process

processsessionid

Unique identifier of the dialog session.

Uniqueidentifier

ProcessSessionId

False

False

SystemRequired

True

True

False

False

False

False

False

True

True

False

False

False

True

Dialog Session

processstagename

Name of the dialog stage.

String

ProcessStageName

False

True

None

True

True

True

False

False

False

True

True

False

False

False

False

False

Dialog Stage

processstate

State of the dialog process.

String

ProcessState

False

True

None

True

True

True

False

False

False

True

True

False

False

False

False

False

Process State

protectionkey

For internal use only.

String

ProtectionKey

False

False

None

False

False

False

False

False

False

False

True

False

False

False

False

False

Protection Key

regardingobjectid

Unique identifier of the object with which the dialog session is associated.

Lookup

RegardingObjectId

False

True

None

True

True

False

False

False

False

True

True

False

False

False

False

True

Regarding

startedby

Unique identifier of the user who started the dialog session.

Lookup

StartedBy

False

True

None

False

True

False

False

False

False

True

True

False

False

False

False

True

Started By

startedon

Date and time when the dialog session was started.

DateTime

StartedOn

False

True

None

True

True

False

False

False

False

True

True

False

False

False

False

True

Started On

statecode

Status of the dialog session.

State

StateCode

False

True

SystemRequired

False

True

False

False

False

False

True

True

False

False

False

False

True

Status

statuscode

Reason for the status of the dialog session.

Status

StatusCode

False

True

None

True

True

True

False

False

False

True

True

False

False

False

False

True

Status Reason

stepname

Name of the dialog step.

String

StepName

False

True

None

True

True

True

False

False

False

True

True

False

False

False

False

False

Step Name

One-to-Many Relationships

The following table shows the entities that are the referencing entity in a one-to-many relationship with the process session (dialog session) entity.

Relationship schema name Referencing entity

processsession_connections2

connection

processsession_connections1

connection

processsession_PostFollows

postfollow

processsession_PostRegardings

postregarding

processsession_PostRoles

postrole

lk_processsession_previouslinkedsessionid

processsession

lk_processsession_nextlinkedsessionid

processsession

lk_processsession_originatingsessionid

processsession

userentityinstancedata_processsession

userentityinstancedata

lk_workflowlog_processsession

workflowlog

lk_workflowlog_processsession_childworkflow

workflowlog

Many-to-Many Relationships

There are no many-to-many relationships for the process session (dialog session) entity.

Many-to-One Relationships

The following table shows the entities that are the referenced entity in a many-to-one relationship with the process session (dialog session) entity.

Relationship schema name Referenced entity

Account_ProcessSessions

account

Annotation_ProcessSessions

annotation

Appointment_ProcessSessions

appointment

BusinessUnit_ProcessSessions

businessunit

Owning_businessunit_processsessions

businessunit

BusinessUnitNewsArticle_ProcessSessions

businessunitnewsarticle

Campaign_ProcessSessions

campaign

CampaignActivity_ProcessSessions

campaignactivity

CampaignResponse_ProcessSessions

campaignresponse

Competitor_ProcessSessions

competitor

Connection_ProcessSessions

connection

ConnectionRole_ProcessSessions

connectionrole

ConstraintBasedGroup_ProcessSessions

constraintbasedgroup

Contact_ProcessSessions

contact

Contract_ProcessSessions

contract

ContractDetail_ProcessSessions

contractdetail

ContractTemplate_ProcessSessions

contracttemplate

CustomerAddress_ProcessSessions

customeraddress

CustomerOpportunityRole_ProcessSessions

customeropportunityrole

CustomerRelationship_ProcessSessions

customerrelationship

Discount_ProcessSessions

discount

DiscountType_ProcessSessions

discounttype

Email_ProcessSessions

email

Equipment_ProcessSessions

equipment

Fax_ProcessSessions

fax

Goal_ProcessSessions

goal

goalrollupquery_ProcessSessions

goalrollupquery

Incident_ProcessSessions

incident

Invoice_ProcessSessions

invoice

InvoiceDetail_ProcessSessions

invoicedetail

KbArticle_ProcessSessions

kbarticle

KbArticleComment_ProcessSessions

kbarticlecomment

KbArticleTemplate_ProcessSessions

kbarticletemplate

Lead_ProcessSessions

lead

Letter_ProcessSessions

letter

List_ProcessSessions

list

MailMergeTemplate_ProcessSessions

mailmergetemplate

metric_ProcessSessions

metric

msdyn_postalbum_ProcessSession

msdyn_postalbum

msdyn_postconfig_ProcessSession

msdyn_postconfig

msdyn_postruleconfig_ProcessSession

msdyn_postruleconfig

msdyn_wallsavedquery_ProcessSession

msdyn_wallsavedquery

msdyn_wallsavedqueryusersettings_ProcessSession

msdyn_wallsavedqueryusersettings

Opportunity_ProcessSessions

opportunity

OpportunityProduct_ProcessSessions

opportunityproduct

owner_processsessions

owner

PhoneCall_ProcessSessions

phonecall

PriceLevel_ProcessSessions

pricelevel

lk_processsession_previouslinkedsessionid

processsession

lk_processsession_nextlinkedsessionid

processsession

lk_processsession_originatingsessionid

processsession

Product_ProcessSessions

product

ProductPriceLevel_ProcessSessions

productpricelevel

Queue_ProcessSessions

queue

QueueItem_ProcessSessions

queueitem

Quote_ProcessSessions

quote

QuoteDetail_ProcessSessions

quotedetail

RecurringAppointmentMaster_ProcessSessions

recurringappointmentmaster

RelationshipRole_ProcessSessions

relationshiprole

Report_ProcessSessions

report

rollupfield_ProcessSessions

rollupfield

SalesLiterature_ProcessSessions

salesliterature

SalesLiteratureItem_ProcessSessions

salesliteratureitem

SalesOrder_ProcessSessions

salesorder

SalesOrderDetail_ProcessSessions

salesorderdetail

Service_ProcessSessions

service

ServiceAppointment_ProcessSessions

serviceappointment

SharePointDocumentLocation_ProcessSessions

sharepointdocumentlocation

SharePointSite_ProcessSessions

sharepointsite

Site_ProcessSessions

site

Subject_ProcessSessions

subject

SystemUser_ProcessSessions

systemuser

lk_processsession_canceledby

systemuser

lk_processsession_startedby

systemuser

lk_processsession_createdby

systemuser

lk_processsessionbase_modifiedonbehalfby

systemuser

lk_processsession_executedby

systemuser

lk_processsession_modifiedby

systemuser

lk_processsession_completedby

systemuser

lk_processsessionbase_createdonbehalfby

systemuser

Task_ProcessSessions

task

Team_ProcessSessions

team

team_processsession

team

Template_ProcessSessions

template

Territory_ProcessSessions

territory

TransactionCurrency_ProcessSessions

transactioncurrency

lk_processsession_processid

workflow

See Also

Reference

EntityMetadata
AttributeMetadata
OneToManyRelationshipMetadata
ManyToManyRelationshipMetadata

Concepts

Workflow and Process Entities for Microsoft Dynamics CRM
ProcessSession (Dialog Session) Entity Messages and Methods
ProcessSession (Dialog Session) Entity Privileges

Microsoft Dynamics CRM 2011
Send comments about this topic to Microsoft.
© 2013 Microsoft Corporation. All rights reserved.