Magidoc

AppWorkflowRun
Object

Fields

#

_id

ID !
Non-null

The ID for the app workflow run

workspaceId

ID !
Non-null

The workspace ID for the workspace in which app workflow run was created

appWorkflowId

ID !
Non-null

The ID for the app workflow

status

Non-null

The status of the app workflow run

triggerGateReason

Safe explanation recorded when the trigger gate skips the run

errorMessage

Sanitized failure summary when the run fails before operation details are recorded

rootAppWorkflowRunId

Root run in this execution lineage; null on legacy records without linkage

parentAppWorkflowRunId

Parent run that dispatched this child; null for root runs

scheduledOccurrenceAt

Exact recurrence occurrence claimed by the scheduler; null for older or non-scheduled runs

candidateSummary

Candidate counts and bounded skip reason aggregates, visible only to workflow creator/owner or workspace admins

actionIds

[ID !]!
Non-null

The action IDs that the app workflow run is being run on

projectIds

[ID !]

The project IDs that the app workflow run is being run on

startedAt

The timestamp of when the app workflow run started

endedAt

The timestamp of when the app workflow run ended; null while the run is still in progress

trigger

Non-null

The trigger that caused the app workflow run

newActionLifecycle

True when this run is the action's Action created run, even if an update to the new action started it

apiRequestTriggerPayload

Redacted snapshot of the inbound API-request trigger body

fieldChanges

CRM record fields whose change started the run, with old and new values; visible to those who can view run logs

operations

Non-null

The operations that were run

createdBy

ID !
Non-null

The user ID of the user who created the app workflow run

triggeredBy

The user ID of the user who triggered the app workflow run

createdAt

Non-null

The timestamp of when the app workflow run was created

appWorkflow

Non-null

The appWorkflow related to this run

retryOfAppWorkflowRunId

The failed run this run retries

retriedByAppWorkflowRunId

The run that retried this one

Usages

#

References

#

  • Field getLatestAppWorkflowRun from Query