共用方式為


workflowlog EntityType

Log used to track process execution.

Entity set path: 
[organization URI]/api/data/v9.2/workflowlogs
Base type: 
crmbaseentity
Table type: 
Standard
Display name: 
Process Log
Primary key: 
workflowlogid
Operations supported: 
POST GET PATCH DELETE

Properties

Properties represent fields of data stored in the entity. Some properties are read-only.

Name Type Details
activityname Edm.String

Name of the activity which the process step is currently processing.

Display name: Activity Name

completedon Edm.DateTimeOffset

Date and time when the operation was completed.

Display name: Completed On

createdon Edm.DateTimeOffset

Date and time when the process log entry was created.

Display name: Started On

Read only
description Edm.String

Description of the process step.

Display name: Step Description

duration Edm.Int32

Duration between completed on and started on, used by business process flow.

Display name: Duration

Read only
Is computed
errorcode Edm.Int32

Error code related to process.

Display name: Error Message

errortext Edm.String

The string representation of the error.

Display name: ErrorText

inputs Edm.Binary

Inputs required by the workflow step.

Display name: Inputs

Read only
inputs_name Edm.String
Read only
interactionactivityresult Edm.String

String specifying the result of an interaction activity.

Display name: Interaction Activity Result

iterationcount Edm.Int32

The iteration count for the action when in a do until loop.

Display name: IterationCount

message Edm.String

Message related to process.

Display name: Message

modifiedon Edm.DateTimeOffset

Date and time when the process log entry was last modified.

Display name: Modified On

Read only
outputs Edm.Binary

Outputs generated by the workflow step.

Display name: Outputs

Read only
outputs_name Edm.String
Read only
repetitioncount Edm.Int32

The count of repetitions of the action when in a loop.

Display name: RepetitionCount

repetitionid Edm.String

The string representation of the repetition and iteration / level of the action.

Display name: RepetitionId

stagename Edm.String

Name of the process stage.

Display name: Process Stage

startedon Edm.DateTimeOffset

Date and time when the operation was started.

Display name: Started On

status Edm.Int32

Status of the process step for which process log record has been created: In Progress, Successfully Completed, or Failed.

Display name: Status

Default options
Values Label
1 In Progress
2 Succeeded
3 Failed
4 Canceled
5 Waiting
stepname Edm.String

Name of the process step.

Display name: Step Name

workflowlogid Edm.Guid

Unique identifier of the process log entry.

Display name: Process Log

Lookup properties

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 Lookup property data.

Name Single-valued navigation property Description
_asyncoperationid_value asyncoperationid_asyncoperation
asyncoperationid_processsession
ExpiredProcess_asyncoperationid
NewProcess_asyncoperationid
TranslationProcess_asyncoperationid

Unique identifier of the parent record.

_childworkflowinstanceid_value childworkflowinstanceid_asyncoperation
childworkflowinstanceid_processsession

Unique identifier of the system job.

_createdby_value createdby

Unique identifier of the user who created the process log entry.

_createdonbehalfby_value createdonbehalfby

Unique identifier of the delegate user who created the process log.

_modifiedby_value modifiedby

Unique identifier of the user who last modified the process log entry.

_modifiedonbehalfby_value modifiedonbehalfby

Unique identifier of the delegate user who last modified the process log.

_owningbusinessunit_value owningbusinessunit

Unique identifier of the business unit that owns the process.

_owningteam_value owningteam

Unique identifier of the team who owns the process log.

Single-valued navigation properties

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
asyncoperationid_asyncoperation asyncoperation lk_workflowlog_asyncoperations
asyncoperationid_processsession processsession lk_workflowlog_processsession
childworkflowinstanceid_asyncoperation asyncoperation lk_workflowlog_asyncoperation_childworkflow
childworkflowinstanceid_processsession processsession lk_workflowlog_processsession_childworkflow
createdby systemuser lk_workflowlog_createdby
createdonbehalfby systemuser lk_workflowlog_createdonbehalfby
ExpiredProcess_asyncoperationid expiredprocess workflowlogs_expiredprocess
modifiedby systemuser lk_workflowlog_modifiedby
modifiedonbehalfby systemuser lk_workflowlog_modifiedonbehalfby
NewProcess_asyncoperationid newprocess workflowlogs_newprocess
owningbusinessunit businessunit business_unit_workflowlogs
owningteam team team_workflowlog
TranslationProcess_asyncoperationid translationprocess workflowlogs_translationprocess

Collection-valued navigation properties

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
workflowlog_FileAttachments fileattachment objectid_workflowlog

See also