Mu Mutation

upsertCustomWorkflowAction

Topics: Scripting

Create a custom action, or overwrite an existing one when input.id is supplied. Overwrite semantics: omitted optional fields are written as null, unlike updateCustomWorkflowAction. Requires customWorkflowAction:write permission.

Returns

UpsertCustomWorkflowActionPayload!

Arguments

The action to write. With an id, the existing action is overwritten in place; without one, a new action is created.

Exact field SDL
"""
Create a custom action, or overwrite an existing one when input.id is supplied. Overwrite semantics: omitted optional fields are written as null, unlike updateCustomWorkflowAction. Requires customWorkflowAction:write permission.
"""
upsertCustomWorkflowAction(
  """
  The action to write. With an id, the existing action is overwritten in place; without one, a new action is created.
  """
  input: UpsertCustomWorkflowActionInput!
): UpsertCustomWorkflowActionPayload! @topic(names: ["scripting"])

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