Get Current Job Info

Reads the current job's id, attempt, automation, entry point, workspace and deadline.

Behaviour

Risk: None · Idempotent: Yes · Safe to retry: Yes · Recovery: Replayed after a crash

Package Orchestrator activities VeloPhex.Orchestrator.Activities 0.7.1-rc.12 · Supported (Core profile) · type id velophex.orchestrator.getCurrentJobInfo

Properties#

Output#

Job Id#

JobId · String · Output

The current job's identifier.

Attempt Number#

AttemptNumber · Int32 · Output

The 1-based number of this attempt of the job.

Automation Name#

AutomationName · String · Output

The automation the job runs.

Entry Point#

EntryPoint · String · Output

The entry point the job started.

Workspace Id#

WorkspaceId · String · Output

The workspace the job runs in.

Execution Deadline#

ExecutionDeadline · DateTimeOffset · Output

When the Orchestrator stops the job.

Retry and risk#

This activity is safe to retry: running it again after a transient failure does not repeat a side effect. If a run is interrupted and the outcome of a step is unknown, the step is never retried automatically (what to do). How activities declare this: characteristics, retries and risk.

Every activity also has the engine's common properties: Timeout and Continue On Error.

Generated from VeloPhex.Orchestrator.Activities 0.7.1-rc.12. Category: Jobs. Keywords: job, current, info, context, attempt, automation, workspace, deadline, orchestrator.

Properties

Output

Retry and risk

Related activities