Writing Scripts

Write scripts on the Process pages of executable objects. The integrated script editor features many capabilities to help you write your scripts.

Writing Scripts Using the Intelligent Assistant

You can write scripts either from scratch or you can use the AI-powered Intelligent Assistant to speed up and optimize the coding process. You access the Intelligent Assistant by right-clicking anywhere on the script editor. The assistant generates proper, error-free code snippets for various scripting languages based on your prompts. It also enhances code quality by optimizing existing blocks and suggesting more efficient methods.

The Intelligent Assistant supports various scripting languages. You do not have to indicate the type of language that the assistant should use, though. It automatically identifies the language that the script should use based on the type of object and Agent used in the object. This list indicates the language automatically used by the assistant depending on the type of object and specific Process page:

On the Process pages (Pre Process, Process, Post Process) of Events, File Transfers, Jobs, Notifications, Schedules and Workflows

  • Windows Jobs: BAT and PowerShell

  • Unix Jobs: Shell

  • Python Jobs (both Windows and Unix): Python

For more information, see:

Writing Scripts Using the Automation Engine scripting language

If you are familiar with other common scripting languages, you will find the Automation Engine scripting language easy to learn.

This section describes the basic principles of writing Automation Engine scripts:

Note: Scripting is an advanced topic. Working knowledge of configuring, executing and monitoring objects and workflows is a prerequisite.

This section includes the following pages:

See also:

Analyzing Scripts with the Automation Assistant