ProductionMu Mutation

upsertScheduleScenario

Topics: Jobs

Create a schedule scenario, or fully replace an existing one when input.id is given. Rejected when the target scenario is locked. Requires scheduleScenario:write permission.

Returns

UpsertScheduleScenarioPayload!

Arguments

Full scenario payload. Include id to overwrite an existing scenario, omit it to create one.

Exact field SDL
"""
Create a schedule scenario, or fully replace an existing one when input.id is given. Rejected when the target scenario is locked. Requires scheduleScenario:write permission.
"""
upsertScheduleScenario(
  """
  Full scenario payload. Include id to overwrite an existing scenario, omit it to create one.
  """
  input: UpsertScheduleScenarioInput!
): UpsertScheduleScenarioPayload! @topic(names: ["jobs"])

Declared on Mutation. Access is checked by the platform for each operation.