asyncoperation EntityType
Updated: November 29, 2016
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Description: Process whose execution can proceed independently or in the background.
Entity Set path:[organization URI]/api/data/v8.2/asyncoperations
Base Type: crmbaseentity EntityType
Display Name: System Job
Primary Key: asyncoperationid
Primary Name Attribute: name
Single-valued navigation properties
Properties represent fields of data stored in the entity. Some properties are read-only.
Name | Type | Details |
|---|---|---|
asyncoperationid | Edm.Guid | Description: Unique identifier of the system job. Display Name: System Job |
completedon | Edm.DateTimeOffset | Description: Date and time when the system job was completed. Display Name: Completed On Read-only property |
correlationid | Edm.Guid | Description: Unique identifier used to correlate between multiple SDK requests and system jobs. Display Name: Correlation Id |
correlationupdatedtime | Edm.DateTimeOffset | Description: Last time the correlation depth was updated. Display Name: Correlation Updated Time |
createdon | Edm.DateTimeOffset | Description: Date and time when the system job was created. Display Name: Created On Read-only property |
data | Edm.String | Description: Unstructured data associated with the system job. Display Name: Data |
dependencytoken | Edm.String | Description: Execution of all operations with the same dependency token is serialized. Display Name: Dependency Token |
depth | Edm.Int32 | Description: Number of SDK calls made since the first call. Display Name: Depth |
errorcode | Edm.Int32 | Description: Error code returned from a canceled system job. Display Name: Error Code Read-only property |
executiontimespan | Edm.Double | Description: Time that the system job has taken to execute. Display Name: ExecutionTimeSpan Read-only property |
friendlymessage | Edm.String | Description: Message provided by the system job. Display Name: Friendly message |
hostid | Edm.String | Description: Unique identifier of the host that owns this system job. Display Name: Host |
iswaitingforevent | Edm.Boolean | Description: Indicates that the system job is waiting for an event. Default Options: 1 : Yes Display Name: Waiting for Event Read-only property |
message | Edm.String | Description: Message related to the system job. Display Name: Message Read-only property |
messagename | Edm.String | Description: Name of the message that started this system job. Display Name: Message Name |
modifiedon | Edm.DateTimeOffset | Description: Date and time when the system job was last modified. Display Name: Modified On Read-only property |
name | Edm.String | Description: Name of the system job. Display Name: System Job Name |
operationtype | Edm.Int32 | Description: Type of the system job. Default Options: 1 : System Event Display Name: System Job Type |
parentpluginexecutionid | Edm.Guid | Description: |
postponeuntil | Edm.DateTimeOffset | Description: Indicates whether the system job should run only after the specified date and time. Display Name: Postpone Until |
primaryentitytype | Edm.String | Description: Type of entity with which the system job is primarily associated. Display Name: Primary Entity Type |
recurrencepattern | Edm.String | Description: Pattern of the system job's recurrence. Display Name: Recurrence Pattern |
recurrencestarttime | Edm.DateTimeOffset | Description: Starting time in UTC for the recurrence pattern. Display Name: Recurrence Start |
requestid | Edm.Guid | Description: Unique identifier of the request that generated the system job. Display Name: Request |
retrycount | Edm.Int32 | Description: Number of times to retry the system job. Display Name: Retry Count Read-only property |
sequence | Edm.Int64 | Description: Order in which operations were submitted. Display Name: Sequence Read-only property |
startedon | Edm.DateTimeOffset | Description: Date and time when the system job was started. Display Name: Started On Read-only property |
statecode | Edm.Int32 | Description: Status of the system job. Default Options: 0 : Ready Display Name: Status |
statuscode | Edm.Int32 | Description: Reason for the status of the system job. Default Options: 0 : Waiting For Resources Display Name: Status Reason |
subtype | Edm.Int32 | Description: The Subtype of the Async Job Display Name: Subtype Read-only property |
timezoneruleversionnumber | Edm.Int32 | Description: For internal use only. |
utcconversiontimezonecode | Edm.Int32 | Description: Time zone code that was in use when the record was created. |
workflowstagename | Edm.String | Description: Name of a workflow stage. Display Name: Workflow Stage Read-only property |
Lookup properties are read-only, computed properties which contain entity primary key Edm.Guid data for one or more corresponding single-valued navigation properties. More information: Lookup properties and Retrieve data about lookup properties
Name | Single-valued navigation property | Description |
|---|---|---|
_createdby_value | createdby | Unique identifier of the user who created the system job. |
_createdonbehalfby_value | createdonbehalfby | Unique identifier of the delegate user who created the asyncoperation. |
_modifiedby_value | modifiedby | Unique identifier of the user who last modified the system job. |
_modifiedonbehalfby_value | modifiedonbehalfby | Unique identifier of the delegate user who last modified the asyncoperation. |
_ownerid_value | ownerid | Unique identifier of the user or team who owns the system job. |
_owningbusinessunit_value | owningbusinessunit | Unique identifier of the business unit that owns the system job. |
_owningextensionid_value | owningextensionid | Unique identifier of the owning extension with which the system job is associated. |
_owningteam_value | owningteam | Unique identifier of the team who owns the record. |
_owninguser_value | owninguser | Unique identifier of the user who owns the record. |
_regardingobjectid_value | regardingobjectid_theme regardingobjectid_new_interactionforemail regardingobjectid_productsubstitute regardingobjectid_knowledgearticle regardingobjectid_entitlement regardingobjectid_entitlementchannel regardingobjectid_entitlementtemplate regardingobjectid_post regardingobjectid_position regardingobjectid_bookableresource regardingobjectid_bookableresourcebooking regardingobjectid_bookableresourcebookingheader regardingobjectid_bookableresourcecategory regardingobjectid_bookableresourcecategoryassn regardingobjectid_bookableresourcecharacteristic regardingobjectid_bookableresourcegroup regardingobjectid_bookingstatus regardingobjectid_characteristic regardingobjectid_ratingmodel regardingobjectid_ratingvalue regardingobjectid_similarityrule regardingobjectid_knowledgebaserecord regardingobjectid_productpricelevel regardingobjectid_report regardingobjectid_opportunity regardingobjectid_privilege regardingobjectid_goalrollupquery regardingobjectid_discounttype regardingobjectid_postfollow regardingobjectid_businessunit regardingobjectid_annualfiscalcalendar regardingobjectid_equipment regardingobjectid_discount regardingobjectid_monthlyfiscalcalendar regardingobjectid_mailbox regardingobjectid_importfile regardingobjectid_importdata regardingobjectid_team regardingobjectid_lead regardingobjectid_kbarticletemplate regardingobjectid_emailserverprofile regardingobjectid_userform regardingobjectid_transactioncurrency regardingobjectid_socialprofile regardingobjectid_opportunityproduct regardingobjectid_importmap regardingobjectid_account regardingobjectid_salesorder regardingobjectid_contract regardingobjectid_queueitem regardingobjectid_quarterlyfiscalcalendar regardingobjectid_queue regardingobjectid_template regardingobjectid_kbarticle regardingobjectid_systemform regardingobjectid_organization regardingobjectid_connectionrole regardingobjectid_site regardingobjectid_kbarticlecomment regardingobjectid_systemuser regardingobjectid_mailmergetemplate regardingobjectid_campaign regardingobjectid_incident regardingobjectid_calendar regardingobjectid_productassociation regardingobjectid_contracttemplate regardingobjectid_connection regardingobjectid_metric regardingobjectid_role regardingobjectid_resource regardingobjectid_salesorderdetail regardingobjectid_subject regardingobjectid_uomschedule regardingobjectid_savedquery regardingobjectid_sla regardingobjectid_activitymimeattachment regardingobjectid_product regardingobjectid_invoicedetail regardingobjectid_list regardingobjectid_competitor regardingobjectid_quotedetail regardingobjectid_annotation regardingobjectid_userquery regardingobjectid_contractdetail regardingobjectid_contact regardingobjectid_quote regardingobjectid_sharepointsite regardingobjectid_salesliterature regardingobjectid_businessunitnewsarticle regardingobjectid_goal regardingobjectid_importlog regardingobjectid_semiannualfiscalcalendar regardingobjectid_territory regardingobjectid_fixedmonthlyfiscalcalendar regardingobjectid_customeraddress regardingobjectid_service regardingobjectid_invoice regardingobjectid_uom regardingobjectid_bulkoperationlog regardingobjectid_resourcespec regardingobjectid_salesliteratureitem regardingobjectid_sharepointdocumentlocation regardingobjectid_activitypointer regardingobjectid_pricelevel regardingobjectid_constraintbasedgroup regardingobjectid_import regardingobjectid_resourcegroup | Unique identifier of the object with which the system job is associated. |
_workflowactivationid_value | workflowactivationid | Unique identifier of the workflow activation related to the system job. |
Single-valued navigation properties represent lookup fields where a single entity can be referenced. Each single-valued navigation property has a corresponding partner collection-valued navigation property on the related entity.
Name | Type | Partner |
|---|---|---|
createdby | lk_asyncoperation_createdby | |
createdonbehalfby | lk_asyncoperation_createdonbehalfby | |
modifiedby | lk_asyncoperation_modifiedby | |
modifiedonbehalfby | lk_asyncoperation_modifiedonbehalfby | |
ownerid | owner_asyncoperations | |
owningbusinessunit | business_unit_asyncoperation | |
owningextensionid | SdkMessageProcessingStep_AsyncOperations | |
owningteam | team_asyncoperation | |
owninguser | system_user_asyncoperation | |
regardingobjectid_account | Account_AsyncOperations | |
regardingobjectid_activitymimeattachment | ActivityMimeAttachment_AsyncOperations | |
regardingobjectid_activitypointer | ActivityPointer_AsyncOperations | |
regardingobjectid_annotation | Annotation_AsyncOperations | |
regardingobjectid_annualfiscalcalendar | AnnualFiscalCalendar_AsyncOperations | |
regardingobjectid_appointment | Appointment_AsyncOperations | |
regardingobjectid_bookableresource | bookableresource_AsyncOperations | |
regardingobjectid_bookableresourcebooking | bookableresourcebooking_AsyncOperations | |
regardingobjectid_bookableresourcebookingheader | bookableresourcebookingheader_AsyncOperations | |
regardingobjectid_bookableresourcecategory | bookableresourcecategory_AsyncOperations | |
regardingobjectid_bookableresourcecategoryassn | bookableresourcecategoryassn_AsyncOperations | |
regardingobjectid_bookableresourcecharacteristic | bookableresourcecharacteristic_AsyncOperations | |
regardingobjectid_bookableresourcegroup | bookableresourcegroup_AsyncOperations | |
regardingobjectid_bookingstatus | bookingstatus_AsyncOperations | |
regardingobjectid_bulkoperation | BulkOperation_AsyncOperations | |
regardingobjectid_bulkoperationlog | BulkOperationLog_AsyncOperations | |
regardingobjectid_businessunit | BusinessUnit_AsyncOperations | |
regardingobjectid_businessunitnewsarticle | BusinessUnitNewsArticle_AsyncOperations | |
regardingobjectid_calendar | Calendar_AsyncOperations | |
regardingobjectid_campaign | Campaign_AsyncOperations | |
regardingobjectid_campaignactivity | CampaignActivity_AsyncOperations | |
regardingobjectid_campaignresponse | CampaignResponse_AsyncOperations | |
regardingobjectid_characteristic | characteristic_AsyncOperations | |
regardingobjectid_competitor | Competitor_AsyncOperations | |
regardingobjectid_connection | Connection_AsyncOperations | |
regardingobjectid_connectionrole | Connection_Role_AsyncOperations | |
regardingobjectid_constraintbasedgroup | ConstraintBasedGroup_AsyncOperations | |
regardingobjectid_contact | Contact_AsyncOperations | |
regardingobjectid_contract | Contract_AsyncOperations | |
regardingobjectid_contractdetail | ContractDetail_AsyncOperations | |
regardingobjectid_contracttemplate | ContractTemplate_AsyncOperations | |
regardingobjectid_customeraddress | CustomerAddress_AsyncOperations | |
regardingobjectid_discount | Discount_AsyncOperations | |
regardingobjectid_discounttype | DiscountType_AsyncOperations | |
regardingobjectid_email | Email_AsyncOperations | |
regardingobjectid_emailserverprofile | emailserverprofile_asyncoperations | |
regardingobjectid_entitlement | entitlement_AsyncOperations | |
regardingobjectid_entitlementchannel | entitlementchannel_AsyncOperations | |
regardingobjectid_entitlementtemplate | entitlementtemplate_AsyncOperations | |
regardingobjectid_equipment | Equipment_AsyncOperations | |
regardingobjectid_fax | Fax_AsyncOperations | |
regardingobjectid_fixedmonthlyfiscalcalendar | FixedMonthlyFiscalCalendar_AsyncOperations | |
regardingobjectid_goal | Goal_AsyncOperations | |
regardingobjectid_goalrollupquery | goalrollupquery_AsyncOperations | |
regardingobjectid_import | Import_AsyncOperations | |
regardingobjectid_importdata | ImportData_AsyncOperations | |
regardingobjectid_importfile | ImportFile_AsyncOperations | |
regardingobjectid_importlog | ImportLog_AsyncOperations | |
regardingobjectid_importmap | ImportMap_AsyncOperations | |
regardingobjectid_incident | Incident_AsyncOperations | |
regardingobjectid_incidentresolution | IncidentResolution_AsyncOperations | |
regardingobjectid_invoice | Invoice_AsyncOperations | |
regardingobjectid_invoicedetail | InvoiceDetail_AsyncOperations | |
regardingobjectid_kbarticle | KbArticle_AsyncOperations | |
regardingobjectid_kbarticlecomment | KbArticleComment_AsyncOperations | |
regardingobjectid_kbarticletemplate | KbArticleTemplate_AsyncOperations | |
regardingobjectid_knowledgearticle | knowledgearticle_AsyncOperations | |
regardingobjectid_knowledgebaserecord | KnowledgeBaseRecord_AsyncOperations | |
regardingobjectid_lead | Lead_AsyncOperations | |
regardingobjectid_letter | Letter_AsyncOperations | |
regardingobjectid_list | List_AsyncOperations | |
regardingobjectid_mailbox | mailbox_asyncoperations | |
regardingobjectid_mailmergetemplate | MailMergeTemplate_AsyncOperations | |
regardingobjectid_metric | metric_AsyncOperations | |
regardingobjectid_monthlyfiscalcalendar | MonthlyFiscalCalendar_AsyncOperations | |
regardingobjectid_new_interactionforemail | new_interactionforemail_AsyncOperations | |
regardingobjectid_opportunity | Opportunity_AsyncOperations | |
regardingobjectid_opportunityclose | OpportunityClose_AsyncOperations | |
regardingobjectid_opportunityproduct | OpportunityProduct_AsyncOperations | |
regardingobjectid_orderclose | OrderClose_AsyncOperations | |
regardingobjectid_organization | Organization_AsyncOperations | |
regardingobjectid_phonecall | PhoneCall_AsyncOperations | |
regardingobjectid_position | position_AsyncOperations | |
regardingobjectid_post | post_AsyncOperations | |
regardingobjectid_postfollow | PostFollow_AsyncOperations | |
regardingobjectid_pricelevel | PriceLevel_AsyncOperations | |
regardingobjectid_privilege | Privilege_AsyncOperations | |
regardingobjectid_product | Product_AsyncOperations | |
regardingobjectid_productassociation | ProductAssociation_AsyncOperations | |
regardingobjectid_productpricelevel | ProductPriceLevel_AsyncOperations | |
regardingobjectid_productsubstitute | ProductSubstitute_AsyncOperations | |
regardingobjectid_quarterlyfiscalcalendar | QuarterlyFiscalCalendar_AsyncOperations | |
regardingobjectid_queue | Queue_AsyncOperations | |
regardingobjectid_queueitem | QueueItem_AsyncOperations | |
regardingobjectid_quote | Quote_AsyncOperations | |
regardingobjectid_quoteclose | QuoteClose_AsyncOperations | |
regardingobjectid_quotedetail | QuoteDetail_AsyncOperations | |
regardingobjectid_ratingmodel | ratingmodel_AsyncOperations | |
regardingobjectid_ratingvalue | ratingvalue_AsyncOperations | |
regardingobjectid_recurringappointmentmaster | RecurringAppointmentMaster_AsyncOperations | |
regardingobjectid_report | Report_AsyncOperations | |
regardingobjectid_resource | Resource_AsyncOperations | |
regardingobjectid_resourcegroup | ResourceGroup_AsyncOperations | |
regardingobjectid_resourcespec | ResourceSpec_AsyncOperations | |
regardingobjectid_role | Role_AsyncOperations | |
regardingobjectid_salesliterature | SalesLiterature_AsyncOperations | |
regardingobjectid_salesliteratureitem | SalesLiteratureItem_AsyncOperations | |
regardingobjectid_salesorder | SalesOrder_AsyncOperations | |
regardingobjectid_salesorderdetail | SalesOrderDetail_AsyncOperations | |
regardingobjectid_savedquery | SavedQuery_AsyncOperations | |
regardingobjectid_semiannualfiscalcalendar | SemiAnnualFiscalCalendar_AsyncOperations | |
regardingobjectid_service | Service_AsyncOperations | |
regardingobjectid_serviceappointment | ServiceAppointment_AsyncOperations | |
regardingobjectid_sharepointdocumentlocation | SharePointDocumentLocation_AsyncOperations | |
regardingobjectid_sharepointsite | SharePointSite_AsyncOperations | |
regardingobjectid_similarityrule | similarityrule_AsyncOperations | |
regardingobjectid_site | Site_AsyncOperations | |
regardingobjectid_sla | slabase_AsyncOperations | |
regardingobjectid_socialactivity | SocialActivity_AsyncOperations | |
regardingobjectid_socialprofile | SocialProfile_AsyncOperations | |
regardingobjectid_subject | Subject_AsyncOperations | |
regardingobjectid_systemform | SystemForm_AsyncOperations | |
regardingobjectid_systemuser | SystemUser_AsyncOperations | |
regardingobjectid_task | Task_AsyncOperations | |
regardingobjectid_team | Team_AsyncOperations | |
regardingobjectid_template | Template_AsyncOperations | |
regardingobjectid_territory | Territory_AsyncOperations | |
regardingobjectid_theme | theme_AsyncOperations | |
regardingobjectid_transactioncurrency | TransactionCurrency_AsyncOperations | |
regardingobjectid_uom | UoM_AsyncOperations | |
regardingobjectid_uomschedule | UoMSchedule_AsyncOperations | |
regardingobjectid_userform | UserForm_AsyncOperations | |
regardingobjectid_userquery | UserQuery_AsyncOperations | |
workflowactivationid | lk_asyncoperation_workflowactivationid |
Collection-valued navigation properties represent collections of entities which may represent either a one-to-many (1:N) or many-to-many (N:N) relationship between the entities.
Name | Type | Partner |
|---|---|---|
AsyncOperation_BulkDeleteOperation | asyncoperationid | |
AsyncOperation_DuplicateBaseRecord | asyncoperationid | |
AsyncOperation_Emails | regardingobjectid_asyncoperation | |
AsyncOperation_SocialActivities | regardingobjectid_asyncoperation | |
lk_workflowlog_asyncoperation_childworkflow | childworkflowinstanceid_asyncoperation | |
lk_workflowlog_asyncoperations | asyncoperationid_asyncoperation |
The following operations use the asyncoperation entity type in a parameter or return type.
Name | How used | Description |
|---|---|---|
ReturnType | Executes a workflow. | |
ReturnType | Submits an asynchronous job that uploads the transformed data into Microsoft Dynamics 365. | |
ReturnType | Submits an asynchronous job that parses all import files that are associated with the specified import (data import). | |
ReturnType | Submits an asynchronous job to publish a duplicate rule. | |
ReturnType | Submits an asynchronous job that transforms the parsed data. |
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright