Save a value from the conversation with a Set Variable Function.
get_lap_child_policy
).lap_child_policy
).child_age_at_time_of_flight
is less than 2. Otherwise, it will set the variable to “Children 2 or older must have their own seat.”
Example task leveraging reference variables set by a set variable function
Use Meaningful Names and Descriptions
Allow Variables to Be Returned By Default
Use Jinja2 Logic
Leverage Conditions
Keep Schemas Focused