DecideNode
Extends
Section titled “Extends”NodeVerification
Properties
Section titled “Properties”choices?
Section titled “choices?”optional choices?: ChoiceOption[];confirmGate?
Section titled “confirmGate?”optional confirmGate?: ConfirmGate;decide?
Section titled “decide?”optional decide?: (data, state) => | Transition| Promise<Transition>;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
|
|
Returns
Section titled “Returns”| Transition
| Promise<Transition>
id: string;instructions
Section titled “instructions”instructions: Instructions;kind: "decide";outputSchema?
Section titled “outputSchema?”optional outputSchema?: StandardSchemaV1<unknown, unknown>;Inherited from
Section titled “Inherited from”NodeVerification.outputSchemaschema?
Section titled “schema?”optional schema?: StandardSchemaV1<unknown, unknown>;verify?
Section titled “verify?”optional verify?: NodeVerify;Inherited from
Section titled “Inherited from”NodeVerification.verify