Table of Contents

Class AutomationContext

Namespace
BpNexT.Actions.Abstractions
Assembly
BpNexT.Actions.Abstractions.dll

Describes one action run and is resolved from the run's dependency injection scope. It carries identity and trigger metadata, but deliberately exposes no runtime services.

public sealed class AutomationContext
Inheritance
object
AutomationContext
Inherited Members
object.Equals(object)
object.GetHashCode()
object.ToString()

Properties

ActionId

Id of the running action.

Attempt

Attempt number of this run, starting at 1.

CorrelationId

Correlation id shared by runs that belong together (pipelines, HTTP calls).

Items

Additional trigger-specific values supplied by the runtime.

LastRun

Start of the previous run of this action, or null on the first one.

LastSuccessfulRun

Start of the previous successful run of this action, or null when there is none.

ModuleId

Id of the module the action belongs to.

ModuleVersion

Version of the module as installed.

RunId

Id of this run; the same value the run history is keyed by.

StartedAt

When the run started.

Trigger

Why the run was requested: manual, schedule, dataset change or pipeline.