Snippets in the process editor

The process editor in Planning Analytics Workspace provides predefined code snippets that users can insert in the TurboIntegrator process.

The TurboIntegrator process code can be repetitive. Users often repeat the same tasks, changing only the variable or object names. The code snippets simplify the repetitive tasks, making the process less error-prone.

To use the snippets, on the Script tab in the process editor, click the snippet icon in the toolbar, as highlighted in the following image:

Snippet icon

The following categories of snippets are currently available: Create, Iterators, and Other. Expand the category to view the list of snippets, and select one of them.

The following image shows one of the available iterator snippets:

Snippet user interface

The Variable and Value columns are editable. As you specify values in these columns, the Preview is updated with your input. When you click Insert, the snippet is inserted in the line under the current position of the cursor.

For more information, see Insert a code snippet into a process.