Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 537 Bytes

evalscript.md

File metadata and controls

19 lines (15 loc) · 537 Bytes

evalScript

For more information regarding JavaScript, please refer to the Javascript section:

{% content-ref url="../../advanced/javascript/" %} javascript {% endcontent-ref %}

For very simple computations (like the one above), creating a new file might be cumbersome. evalScript allows you to specify JavaScript directly in your Maestro flow.

appId: com.example
env:
    MY_NAME: John
---
- launchApp
- evalScript: ${output.myFlow = MY_NAME.toUpperCase()}
- inputText: ${output.myFlow}