Creating JavaScript procedures

You can use JavaScript syntax to create more complex and not linear procedures.

About this task

To create a JavaScript procedure:


  1. In the Procedure editor, type /*JavaScript*/.
    The current procedure is processed as a JavaScript one.
  2. Type a script for the JavaScript procedure in the Procedure editor. Use the proc object and its functions.
    Note: JavaScript procedures support the syntax of JavaScript modules.
  3. Save or run the created procedure.