Importing libraries, dealing with files, blobs and proxies, using
evaland doing HTTP requests is not allowed.
In cases where data is needed to be provided from templating, it must be set using the Inputs section. There is no limit to adding variables, but note that there is a limited number of operations that can be executed. Note that inputs are declared as global variables and they can be overridden in the code.
When adding the Run Code action to a flow, you can test the action without needing to trigger the complete flow using the Test action button.
Once you click the Test action button, a new window prompts you to provide the value of the variables resolved through templating.
When you click the Test button, the script is executed and the output is prompted in a new window as shown below:
To allow the correct performance of the action, the following limits must be taken into account:
|Maximum allowed depth of recursion||100||This means that recursive scripts will only be allowed to execute 100 levels of depth.|
|Script execution||Up to 5 seconds||Otherwise, the execution will fail with a timed-out result.|
|Maximum size allowed for arrays||100K elements|
|Maximum number of statements||5000||This includes variable declarations, conditional blocks, loops, function calls and such.|
|Maximum memory allocation||~10MB||This means that a script has up to 10 MB of memory to execute.|