Show Menu
TOPICS×

SQL code and JavaScript code

SQL code

An SQL code activity executes an SQL script. The script is a JST template.
  • Script
    The central area of the editor contains the script to be executed. This script is a JST template and can therefore be configured according to the workflow context.
  • Processing errors

JavaScript code and Advanced JavaScript code

JavaScript code and Advanced JavaScript code activities execute a JavaScript script in the context of a workflow. For more on scripting, refer to the JavaScript scripts and templates section.
By default, the execution phase of JavaScript code and Advanced JavaScript code activities cannot exceed 1 hour. After this delay, the process will be aborted with an error message and the activity execution will fail.
You can change this delay in the Stop execution after field available in the activities' properties.
  • JavaScript code
    • Script : The central area of the editor contains the script to be executed.
    • Processing errors : Refer to Processing errors .
  • Advanced JavaScript code
    • First call : The first zone of the editor contains the script to execute during the first call.
    • Next calls : The second zone of the editor contains the script to execute during the next calls.
    • Transitions : You can define several activity output transitions.
    • Schedule : The Schedule tab lets you schedule when to trigger the activity.