ScenarioSimulationRun
A Monte-Carlo replay of a schedule scenario's allocations against the work centres' learned behaviour profiles
Unique identifier of the run
The scenario replayed
Lifecycle status
samplesInt!Monte-Carlo samples requested
seedInt!Random seed; the same seed, scenario and profiles reproduce the result
applyPaceDriftBoolean!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.
View exact 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
}One stable address across all schema views. Follow a field’s type to explore connections between domains.