Skip to main content
Script is an XML-based scripting language used to automate workflows, transform data, and customize connector behavior through simple, XML-based commands.

Using Script

This section contains links to the topics that describe Script’s features in detail.

Introduction

The Introduction covers the core concepts of the Script language and includes several example scripts for reference. CData strongly recommends that you start with this section if you are new to Script.

Keywords

Each line of Script begins with a keyword. For example, arc:set is the keyword to set an attribute (variable), arc:if introduces conditional logic, and arc:call invokes an Script operation. Keywords describes all of the available keywords.

Operations

Advanced processing in Script is performed using operations. Each operation executes a specific task such as a database query, an HTTP request, or a file read. Operations lists all available operations, describes the input and output parameters, and provides examples of them in use.
Some operations are specific to a certain connector. They are described in the documentation for that connector; for example, the Notify connector documentation includes the notifySendEmail operation.

Formatters

Script uses formatters to modify values in a script. These formatters can perform mathematical operations, string manipulation, date formatting, and more. Formatters lists each available formatter and its parameters.