Skip to content
Proud to collaborate with Microsoft for Startups

data.wasender.message.persist ​

Persist a WasenderMessage outbound-log row (create or restore)

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-wasender
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes——
wasender_session_uuiduuidYes——
message_idstringYes——
to_jidstringYes——
message_typestringYes——
statusstringNo——
sent_atstringNo——
provider_metadatajsonNo——
actorstringNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
wasender_message_uuiduuidYes——
message_idstringYes——
createdbooleanYes——
persisted_atstringYes——
failure_reasonstringNo—Engine-stamped human-readable failure reason
failed_at_statestringNo—Engine-stamped state when the workflow failed
failed_stepstringNo—Engine-stamped step name (DAG path)
failed_layerintegerNo—Engine-stamped layer index (DAG path)
errorstringNo—Engine-stamped exception message
error_typestringNo—Engine-stamped exception class name
failure_typestringNo—Engine-stamped failure category (atomic path)
failed_actionstringNo—Engine-stamped action method that raised (atomic path)

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—completePersist message
completedNoYesYes—Persisted
failedNoYesNo—Persist failed

State Diagram ​

Transitions ​

FromActionToDescription
pendingcompletecompleted—
pendingfailfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "data.wasender.message.persist",
  "initial_data": {
    "organization_uuid": "value",
    "wasender_session_uuid": "value",
    "message_id": "value",
    "to_jid": "value"
  }
}