PostgreSQL Write Result
AI-generatedSummary
Update a PostgreSQL event channel record's state and store the workflow execution result based on the provided Event ID and success flag.
Inputs
- Event ID (required) — The ID of the event record to update in the PostgreSQL event channel.
- Success — Boolean flag indicating whether the workflow execution was successful; defaults to true.
Output shape
a list of JSON objects, each containing the eventId, updated state, a success status, and the payload with details or error information
Updates the event channel record identified by Event ID, setting state to 'completed' if success is true and no error is present, or to 'error' if there was an error or success is false. The result_data field in the database will contain serialized details including success status, completion or failure timestamp, and any error messages. Supports continue on fail to return partial results with errors.