ProductionMu Mutation

upsertOperationItems

Topics: Jobs

Batch upsert operation items for an operation (replaces all existing items). Requires operation:write permission.

Returns

UpsertOperationItemsPayload!

Arguments

The operation, its job, and the full item list to write. Runs in one transaction: existing items (and their edges) are deleted, then the supplied items are inserted as new PENDING items with fresh ids.

Exact field SDL
"""
Batch upsert operation items for an operation (replaces all existing items). Requires operation:write permission.
"""
upsertOperationItems(
  """
  The operation, its job, and the full item list to write. Runs in one transaction: existing items (and their edges) are deleted, then the supplied items are inserted as new PENDING items with fresh ids.
  """
  input: UpsertOperationItemsInput!
): UpsertOperationItemsPayload! @topic(names: ["jobs"])

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