Update Workflow Signal
updateWorkflowSignal Mutation
Updates an existing WorkflowSignal with new data.
Arguments
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:
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
datafield supports flexible JSON structures for signal configurationChanging the
eventNamewill change which events trigger this signalChanging
startfromtruetofalseprevents the signal from initiating new workflowsMoving a signal to a different workflow can be done by updating the
workflowIDConsider the impact on existing workflow instances when making changes
Last updated
Was this helpful?
