Lightning.Workflows.Triggers.WebhookResponseConfig (Lightning v2.19.0-pre)

View Source

Embedded schema for the default webhook response sent on run completion.

When a trigger's webhook_reply is :after_completion, this config controls the HTTP response returned to the caller:

  • success_code — HTTP status code when the run succeeds. Defaults to 201.
  • error_code — HTTP status code for any non-success terminal state (failed, crashed, exception, killed, cancelled). Defaults to 500.

Summary

Functions

changeset(config, attrs)