AsyncOperation (System Job) Entity Metadata

[Applies to: Microsoft Dynamics CRM 2011]

The following information is for the asynchronous operation entity in a default, uncustomized installation of Microsoft Dynamics CRM. The schema name and early bound class name for this entity is AsyncOperation.

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 asynchronous operation entity.

Entity metadata property Value

OTC

4700

EntityLogicalName

asyncoperation

DisplayName

System Job

DisplayCollectionName

System Jobs

IsCustomizable

False

OwnershipType

UserOwned

AutoRouteToOwnerQueue

False

CanBeInManyToMany

False

CanBePrimaryEntityInRelationship

False

CanBeRelatedEntityInRelationship

False

CanCreateAttributes

False

CanCreateCharts

False

CanCreateForms

False

CanCreateViews

False

CanModifyAdditionalSettings

False

CanTriggerWorkflow

False

IsActivity

False

IsActivityParty

False

IsAuditEnabled

False

IsAvailableOffline

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

asyncoperationid

PrimaryNameAttribute

name

ReportViewName

FilteredAsyncOperation

Description

Process whose execution can proceed independently or in the background.

Privilege Metadata

The following table shows the privilege metadata for the asynchronous operation entity.

PrivilegeName Id Type CanBeBasic CanBeDeep CanBeGlobal CanBeLocal

prvAppendAsyncOperation

25523f7c-7b1d-4844-8d2d-50767d6faa94

Append

True

True

True

True

prvAppendToAsyncOperation

a7c82854-36ce-4616-b7c2-84ec619d3378

AppendTo

True

True

True

True

prvAssignAsyncOperation

003d8a0f-c230-411c-a993-cc0a8aeaac96

Assign

True

True

True

True

prvCreateAsyncOperation

eba97ff0-c3e4-47e2-a064-84acd680092f

Create

True

True

True

True

prvDeleteAsyncOperation

6ad0b110-c4d5-4dba-9a04-37528ef5df7d

Delete

True

True

True

True

prvReadAsyncOperation

e84acc8f-0c61-43e3-a716-20964a483bdf

Read

True

True

True

True

prvShareAsyncOperation

b367742d-e25d-4223-8691-e055bcbe3d98

Share

True

True

True

True

prvWriteAsyncOperation

4440769e-8d79-41fc-ae45-cd65480ffdba

Write

True

True

True

True

Attribute Metadata

The following table shows the attribute metadata for the asynchronous operation entity.

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

asyncoperationid

AsyncOperationId

System Job

Uniqueidentifier

SystemRequired

True

True

False

False

False

False

False

False

False

True

True

False

False

False

True

Unique identifier of the system job.

completedon

CompletedOn

Completed On

DateTime

None

False

True

False

False

False

False

True

False

False

True

False

False

False

False

True

Date and time when the system job was completed.

correlationid

CorrelationId

Correlation Id

Uniqueidentifier

SystemRequired

True

True

False

False

False

False

False

False

False

True

False

False

False

False

False

Unique identifier used to correlate between multiple SDK requests and system jobs.

correlationupdatedtime

CorrelationUpdatedTime

Correlation Updated Time

DateTime

SystemRequired

True

True

False

False

False

False

True

False

False

True

False

False

False

False

False

Last time the correlation depth was updated.

createdby

CreatedBy

Created By

Lookup

SystemRequired

False

True

False

False

False

False

False

False

False

True

False

False

False

False

True

Unique identifier of the user who created the system job.

createdon

CreatedOn

Created On

DateTime

None

False

True

False

False

False

False

False

False

False

True

False

False

False

False

True

Date and time when the system job was created.

createdonbehalfby

CreatedOnBehalfBy

Created By (Delegate)

Lookup

None

False

True

False

False

False

False

False

False

False

True

False

False

False

False

True

Unique identifier of the delegate user who created the asyncoperation.

data

Data

Data

Memo

None

True

True

False

False

False

False

True

False

False

True

False

False

False

False

False

Unstructured data associated with the system job.

dependencytoken

DependencyToken

Dependency Token

String

None

True

True

False

False

False

False

True

False

False

True

False

False

False

False

False

Execution of all operations with the same dependency token is serialized.

depth

Depth

Depth

Integer

SystemRequired

True

True

False

False

False

False

True

False

False

True

False

False

False

False

False

Number of SDK calls made since the first call.

errorcode

ErrorCode

Error Code

Integer

None

False

True

False

False

False

False

True

False

False

True

False

False

False

False

True

Error code returned from a canceled system job.

executiontimespan

ExecutionTimeSpan

ExecutionTimeSpan

Double

SystemRequired

False

True

False

False

False

False

True

False

False

True

False

False

False

False

False

Time that the system job has taken to execute.

friendlymessage

FriendlyMessage

Friendly message

Memo

None

False

True

True

False

False

False

True

False

False

True

False

False

False

False

True

Message provided by the system job.

hostid

HostId

Host

String

None

True

True

False

False

False

False

True

False

False

True

False

False

False

False

False

Unique identifier of the host that owns this system job.

iswaitingforevent

IsWaitingForEvent

Waiting for Event

Boolean

None

False

True

False

False

False

False

True

False

False

True

False

False

False

False

False

Indicates that the system job is waiting for an event.

message

Message

Message

Memo

None

False

True

False

False

False

False

True

False

False

True

False

False

False

False

True

Message related to the system job.

messagename

MessageName

Message Name

String

None

True

True

False

False

False

False

True

False

False

True

False

False

False

False

True

Name of the message that started this system job.

modifiedby

ModifiedBy

Modified By

Lookup

SystemRequired

False

True

False

False

False

False

False

False

False

True

False

False

False

False

True

Unique identifier of the user who last modified the system job.

modifiedon

ModifiedOn

Modified On

DateTime

None

False

True

False

False

False

False

False

False

False

True

False

False

False

False

True

Date and time when the system job was last modified.

modifiedonbehalfby

ModifiedOnBehalfBy

Modified By (Delegate)

Lookup

None

False

True

False

False

False

False

False

False

False

True

False

False

False

False

True

Unique identifier of the delegate user who last modified the asyncoperation.

name

Name

System Job Name

String

None

True

True

False

False

False

False

True

False

False

True

False

True

False

False

True

Name of the system job.

operationtype

OperationType

System Job Type

Picklist

None

True

True

False

False

False

False

True

False

False

True

False

False

False

False

True

Type of the system job.

ownerid

OwnerId

Owner

Owner

SystemRequired

True

True

False

False

False

False

True

False

False

True

False

False

False

False

True

Unique identifier of the user or team who owns the system job.

owningbusinessunit

OwningBusinessUnit

Owning Business Unit

Lookup

SystemRequired

False

True

False

False

False

False

False

False

False

True

False

False

False

False

False

Unique identifier of the business unit that owns the system job.

owningextensionid

OwningExtensionId

Owning Extension

Lookup

None

True

True

False

False

False

False

True

False

False

True

False

False

False

False

True

Unique identifier of the owning extension with which the system job is associated.

owningteam

OwningTeam

Owning Team

Lookup

None

False

True

False

False

False

False

False

False

False

True

False

False

False

False

False

Unique identifier of the team who owns the record.

owninguser

OwningUser

Owning User

Lookup

None

False

True

False

False

False

False

False

False

False

True

False

False

False

False

False

Unique identifier of the user who owns the record.

postponeuntil

PostponeUntil

Postpone Until

DateTime

None

True

True

True

False

False

False

True

False

False

True

False

False

False

False

True

Indicates whether the system job should run only after the specified date and time.

primaryentitytype

PrimaryEntityType

Primary Entity Type

EntityName

None

True

True

False

False

False

False

True

False

False

True

False

False

False

False

False

Type of entity with which the system job is primarily associated.

recurrencepattern

RecurrencePattern

Recurrence Pattern

String

None

True

True

True

False

False

False

True

False

False

True

False

False

False

False

True

Pattern of the system job's recurrence.

recurrencestarttime

RecurrenceStartTime

Recurrence Start

DateTime

None

True

True

True

False

False

False

True

False

False

True

False

False

False

False

True

Starting time in UTC for the recurrence pattern.

regardingobjectid

RegardingObjectId

Regarding

Lookup

None

True

True

False

False

False

False

True

False

False

True

False

False

False

False

True

Unique identifier of the object with which the system job is associated.

requestid

RequestId

Request

Uniqueidentifier

None

True

True

False

False

False

False

False

False

False

True

False

False

False

False

False

Unique identifier of the request that generated the system job.

retrycount

RetryCount

Retry Count

Integer

None

False

True

False

False

False

False

True

False

False

True

False

False

False

False

False

Number of times to retry the system job.

sequence

Sequence

Sequence

BigInt

SystemRequired

False

True

False

False

False

False

True

False

False

True

False

False

False

False

False

Order in which operations were submitted.

startedon

StartedOn

Started On

DateTime

None

False

True

False

False

False

False

True

False

False

True

False

False

False

False

True

Date and time when the system job was started.

statecode

StateCode

Status

State

SystemRequired

False

True

True

False

False

False

True

False

False

True

False

False

False

False

True

Status of the system job.

statuscode

StatusCode

Status Reason

Status

None

False

True

True

False

False

False

True

False

False

True

False

False

False

False

True

Reason for the status of the system job.

timezoneruleversionnumber

TimeZoneRuleVersionNumber

Integer

None

True

True

False

False

False

False

False

False

False

True

False

False

False

False

False

For internal use only.

utcconversiontimezonecode

UTCConversionTimeZoneCode

Integer

None

True

True

False

False

False

False

False

False

False

True

False

False

False

False

False

Time zone code that was in use when the record was created.

workflowactivationid

WorkflowActivationId

Workflow Activation Id

Lookup

None

True

True

False

False

False

False

True

False

False

True

False

False

False

False

False

Unique identifier of the workflow activation related to the system job.

workflowisblocked

WorkflowIsBlocked

Workflow Is Blocked

Boolean

None

False

False

False

False

False

False

True

False

False

True

False

False

False

False

False

Indicates whether the workflow instance was blocked when it was persisted.

workflowstagename

WorkflowStageName

Workflow Stage

String

None

False

True

False

False

False

False

True

False

False

True

False

False

False

False

True

Name of a workflow stage.

workflowstate

WorkflowState

Workflow State

String

None

False

False

False

False

False

False

True

False

False

True

False

False

False

False

False

State of the workflow job.

One-to-Many Relationships

The following table shows the entities that are the referencing entity in a one-to-many relationship with the asynchronous operation entity.

Relationship schema name Referencing entity

AsyncOperation_BulkDeleteOperation

bulkdeleteoperation

AsyncOperation_DuplicateBaseRecord

duplicaterecord

AsyncOperation_Emails

email

userentityinstancedata_asyncoperation

userentityinstancedata

lk_workflowlog_asyncoperation_childworkflow

workflowlog

lk_workflowlog_asyncoperations

workflowlog

asyncoperation_workflowwaitsubscription

workflowwaitsubscription

Many-to-Many Relationships

There are no default many-to-many relationships for the asynchronous operation entity.

Many-to-One Relationships

The following table shows the entities that are the referenced entity in a many-to-one relationship for the asynchronous operation entity.

Relationship schema name Referenced entity

Account_AsyncOperations

account

ActivityMimeAttachment_AsyncOperations

activitymimeattachment

ActivityPointer_AsyncOperations

activitypointer

Annotation_AsyncOperations

annotation

AnnualFiscalCalendar_AsyncOperations

annualfiscalcalendar

Appointment_AsyncOperations

appointment

AttributeMap_AsyncOperations

attributemap

BulkOperation_AsyncOperations

bulkoperation

BulkOperationLog_AsyncOperations

bulkoperationlog

BusinessUnit_AsyncOperations

businessunit

business_unit_asyncoperation

businessunit

BusinessUnitNewsArticle_AsyncOperations

businessunitnewsarticle

Calendar_AsyncOperations

calendar

Campaign_AsyncOperations

campaign

CampaignActivity_AsyncOperations

campaignactivity

CampaignResponse_AsyncOperations

campaignresponse

Competitor_AsyncOperations

competitor

Connection_AsyncOperations

connection

Connection_Role_AsyncOperations

connectionrole

ConstraintBasedGroup_AsyncOperations

constraintbasedgroup

Contact_AsyncOperations

contact

Contract_AsyncOperations

contract

ContractDetail_AsyncOperations

contractdetail

ContractTemplate_AsyncOperations

contracttemplate

CustomerAddress_AsyncOperations

customeraddress

CustomerOpportunityRole_AsyncOperations

customeropportunityrole

CustomerRelationship_AsyncOperations

customerrelationship

Discount_AsyncOperations

discount

DiscountType_AsyncOperations

discounttype

DisplayString_AsyncOperations

displaystring

Email_AsyncOperations

email

EntityMap_AsyncOperations

entitymap

Equipment_AsyncOperations

equipment

Fax_AsyncOperations

fax

FixedMonthlyFiscalCalendar_AsyncOperations

fixedmonthlyfiscalcalendar

Goal_AsyncOperations

goal

goalrollupquery_AsyncOperations

goalrollupquery

Import_AsyncOperations

import

ImportData_AsyncOperations

importdata

ImportFile_AsyncOperations

importfile

ImportLog_AsyncOperations

importlog

ImportMap_AsyncOperations

importmap

Incident_AsyncOperations

incident

IncidentResolution_AsyncOperations

incidentresolution

Invoice_AsyncOperations

invoice

InvoiceDetail_AsyncOperations

invoicedetail

IsvConfig_AsyncOperations

isvconfig

KbArticle_AsyncOperations

kbarticle

KbArticleComment_AsyncOperations

kbarticlecomment

KbArticleTemplate_AsyncOperations

kbarticletemplate

Lead_AsyncOperations

lead

Letter_AsyncOperations

letter

List_AsyncOperations

list

MailMergeTemplate_AsyncOperations

mailmergetemplate

metric_AsyncOperations

metric

MonthlyFiscalCalendar_AsyncOperations

monthlyfiscalcalendar

msdyn_postalbum_AsyncOperations

msdyn_postalbum

msdyn_postconfig_AsyncOperations

msdyn_postconfig

msdyn_postruleconfig_AsyncOperations

msdyn_postruleconfig

msdyn_wallsavedquery_AsyncOperations

msdyn_wallsavedquery

msdyn_wallsavedqueryusersettings_AsyncOperations

msdyn_wallsavedqueryusersettings

Opportunity_AsyncOperations

opportunity

OpportunityClose_AsyncOperations

opportunityclose

OpportunityProduct_AsyncOperations

opportunityproduct

OrderClose_AsyncOperations

orderclose

Organization_AsyncOperations

organization

owner_asyncoperations

owner

PhoneCall_AsyncOperations

phonecall

post_AsyncOperations

post

PostFollow_AsyncOperations

postfollow

PriceLevel_AsyncOperations

pricelevel

Privilege_AsyncOperations

privilege

Product_AsyncOperations

product

ProductPriceLevel_AsyncOperations

productpricelevel

QuarterlyFiscalCalendar_AsyncOperations

quarterlyfiscalcalendar

Queue_AsyncOperations

queue

QueueItem_AsyncOperations

queueitem

Quote_AsyncOperations

quote

QuoteClose_AsyncOperations

quoteclose

QuoteDetail_AsyncOperations

quotedetail

RecurringAppointmentMaster_AsyncOperations

recurringappointmentmaster

RelationshipRole_AsyncOperations

relationshiprole

RelationshipRoleMap_AsyncOperations

relationshiprolemap

Report_AsyncOperations

report

Resource_AsyncOperations

resource

ResourceGroup_AsyncOperations

resourcegroup

ResourceSpec_AsyncOperations

resourcespec

Role_AsyncOperations

role

rollupfield_AsyncOperations

rollupfield

SalesLiterature_AsyncOperations

salesliterature

SalesLiteratureItem_AsyncOperations

salesliteratureitem

SalesOrder_AsyncOperations

salesorder

SalesOrderDetail_AsyncOperations

salesorderdetail

SavedQuery_AsyncOperations

savedquery

SdkMessageProcessingStep_AsyncOperations

sdkmessageprocessingstep

SemiAnnualFiscalCalendar_AsyncOperations

semiannualfiscalcalendar

Service_AsyncOperations

service

ServiceAppointment_AsyncOperations

serviceappointment

SharePointDocumentLocation_AsyncOperations

sharepointdocumentlocation

SharePointSite_AsyncOperations

sharepointsite

Site_AsyncOperations

site

Subject_AsyncOperations

subject

SystemForm_AsyncOperations

systemform

lk_asyncoperation_createdby

systemuser

lk_asyncoperation_modifiedby

systemuser

SystemUser_AsyncOperations

systemuser

lk_asyncoperation_createdonbehalfby

systemuser

system_user_asyncoperation

systemuser

lk_asyncoperation_modifiedonbehalfby

systemuser

Task_AsyncOperations

task

Team_AsyncOperations

team

team_asyncoperation

team

Template_AsyncOperations

template

Territory_AsyncOperations

territory

TransactionCurrency_AsyncOperations

transactioncurrency

UoM_AsyncOperations

uom

UoMSchedule_AsyncOperations

uomschedule

UserForm_AsyncOperations

userform

UserQuery_AsyncOperations

userquery

lk_asyncoperation_workflowactivationid

workflow

See Also

Reference

AsyncOperation (System Job) Entity Privileges
EntityMetadata
AttributeMetadata
OneToManyRelationshipMetadata
ManyToManyRelationshipMetadata

Concepts

AsyncOperation (System Job) Entity Messages and Methods

Other Resources

Asynchronous Service in Microsoft Dynamics CRM

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