Evaluate expression
Purpose of this building block
When using variables and conditions in templates the capabilities are limited to keep templates simple and clean. This will allow non-developers to easily read and edit the template.
If you need more complex conditions or want to do calculations, the evaluate expression script comes to a rescue. As it is using JavaScript under the hood you can enter complex conditions or even JavaScript snippets.
Possible use cases
- Use complex expressions in your template
Configuration
Reload
Click on the reload icon to scan the Google Form for modified, added or removed fields.
After adding the script to your flow, click on the keyboard icon in the input parameter section.
Only unbound input parameters are activated in the form dialog, so if you are using the script multiple times you may need to activate the expression parameter.
The
result
of the evaluated expression will be stored in the result variable by default.
If you are using multiple script you may want to give each result variable a prefix in order to be able to access each of the results.
Click on the prefix icon in the output parameter section and enter the prefix of your choice.
Questions and Feedback
If you have any comments on this guide, feel free to add them right to the Google document that we are using to create this site.
If you are not yet member of the Ultradox community on Google+, please join now to get updates from our end or to provide feedback, bug reports or discuss with other users.
Last Updated: