Update Workflow Signal

updateWorkflowSignal Mutation

Updates an existing WorkflowSignal with new data.

Arguments

Name
Type
Description

id

ID!

The unique identifier of the workflow signal to update

input

UpdateWorkflowSignalInput!

Input data for updating the workflow signal

Return Type

WorkflowSignal - The updated workflow signal.

Input Fields

UpdateWorkflowSignalInput:

Field
Type
Description

dataTypeID

UUID

Optional data type ID to associate with the signal

clearDataTypeID

Boolean

Clear the existing data type ID

dataTypeSlug

String

Optional data type slug

clearDataTypeSlug

Boolean

Clear the existing data type slug

data

Map

Custom data associated with the signal

clearData

Boolean

Clear the existing custom data

eventName

String

Name of the event that this signal handles

start

Boolean

Whether this signal can start a new workflow instance

workflowID

ID

ID of the workflow this signal belongs to

Usage Example

JavaScript Example

Important Notes

  • Updating a workflow signal may affect how future events are handled

  • Use the clear flags to explicitly remove optional fields

  • The data field supports flexible JSON structures for signal configuration

  • Changing the eventName will change which events trigger this signal

  • Changing start from true to false prevents the signal from initiating new workflows

  • Moving a signal to a different workflow can be done by updating the workflowID

  • Consider the impact on existing workflow instances when making changes

Last updated

Was this helpful?