← All types
ProductionOb Object

ScenarioSimulationRun

A Monte-Carlo replay of a schedule scenario's allocations against the work centres' learned behaviour profiles

Fields

Unique identifier of the run

The scenario replayed

Lifecycle status

Possible values (5)
QUEUED

Accepted and waiting for a simulation worker

RUNNING

A worker is replaying the scenario

COMPLETED

Finished; result is populated

FAILED

Ended without a result; error carries the cause

CANCELLED

Cancelled by a user before completion

samples

Int!Non-null

Monte-Carlo samples requested

seed

Int!Non-null

Random seed; the same seed, scenario and profiles reproduce the result

Whether each profile's pace forecast scaled sampled durations

User who queued the run

When the run was queued (ISO8601)

When the worker started (ISO8601)

When the run reached a terminal status (ISO8601)

Failure detail when status is FAILED or CANCELLED

Profile version pinned per work centre

The simulation result; null until COMPLETED

Prediction coverage against completions recorded since; null until scored

When the row was created (ISO8601)

When the row was last updated (ISO8601)

The scenario replayed. Requires scheduleScenario:read permission.

Referenced by (4)
Exact type SDL
"""
A Monte-Carlo replay of a schedule scenario's allocations against the work centres' learned behaviour profiles
"""
type ScenarioSimulationRun {
  """Unique identifier of the run"""
  id: ScenarioSimulationRunID!
  """The scenario replayed"""
  scheduleScenarioId: ScheduleScenarioID!
  """Lifecycle status"""
  status: SimulationRunStatus!
  """Monte-Carlo samples requested"""
  samples: Int!
  """Random seed; the same seed, scenario and profiles reproduce the result"""
  seed: Int!
  """Whether each profile's pace forecast scaled sampled durations"""
  applyPaceDrift: Boolean!
  """User who queued the run"""
  requestedByUserId: UserID
  """When the run was queued (ISO8601)"""
  queuedAt: ISO8601!
  """When the worker started (ISO8601)"""
  startedAt: ISO8601
  """When the run reached a terminal status (ISO8601)"""
  completedAt: ISO8601
  """Failure detail when status is FAILED or CANCELLED"""
  error: SimulationError
  """Profile version pinned per work centre"""
  profilesUsed: [SimulationProfileUsed!]!
  """The simulation result; null until COMPLETED"""
  result: SimulationResult
  """
  Prediction coverage against completions recorded since; null until scored
  """
  coverage: SimulationCoverage
  """When the row was created (ISO8601)"""
  createdAt: ISO8601!
  """When the row was last updated (ISO8601)"""
  updatedAt: ISO8601!
  """The scenario replayed. Requires scheduleScenario:read permission."""
  scenario: ScheduleScenarioState
}