Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Evaluate Control

Acts as a logical switch command. You can create multiple pins based on the number of outputs you require.

Info

You have access to the entire msg object, by selecting custom. You can use {{ mustache tags }} on Custom Input, and with Evaluate. Refer, How to check for empty string in Flow studio

The evaluate control can be selected by You can select any previous control and its corresponding value to work with. The best practice is to name each control; do not use the default name.

...

Customizes the input field to call any value from the msg object. You can create a condition with that value and set the appropriate pins to it.

...

While using the Evaluate node, anything that is enclosed within double quotes is considered a string. For example, == True matches a boolean value (0 or 1, the result of a logical expression )
where as, == ”True” matches with a string.

Video Content

https://cdn.orbita.cloud/assets/orbita/flowstudio/Evaluatenodeevaluatenode.mp4

Video Key Messages

  • The evaluate function takes a value calculated from a hook event and uses mustache tags to transform it into a number.  

  • Review this experience with a BMI Calculator hook event within an open-text chatbot.

...