Dynamic arg help
When a field is using the "Raw Javascript Editor", its value is computed dynamically as the evaluation of its corresponding javascript snippet.
That snippet can be a single line:last_result.myarg
or a multiline:
let x = 5;
x + 2
If it is multiline, the statement before the final expression MUST END WITH ; and a newline
The snippet can also be a string template:`Hello ${params.name}, all your base ${previous_result.base_name} belong
to us`
However, the last line must always be the final expression.
The snippet can use any javascript primitives, and the following flow specific objects and functions:
To re-enable editor assistance, import the helper functions types using:
{`import { results, flow_input, variable, resource, params } from 'windmill${
importPath ? `@${importPath}` : ''
}'`}