📄️ Fallbacks in Ductape
Fallbacks in Ductape are composite resources that enable resilient workflows by orchestrating multiple providers or actions. If the primary provider fails, Ductape automatically attempts the next option in the sequence, ensuring high availability and graceful error handling.
📄️ Defining Inputs for Fallbacks
The input schema for a fallback in Ductape specifies the fields and types required by all fallback options. This schema is defined using DataTypes and can include constraints such as maxlength, minlength, etc.
📄️ Defining Outputs for Fallbacks
In Ductape, outputs are defined per option within a fallback. Each option specifies its own output mapping, which determines what data is made available if that option succeeds. Only the output of the successful (first non-failing) option is available for downstream workflow steps.