About scenarios

A scenario is a sequence of scheduled basic actions which are executed by a connector.

Scenario example

If you want to change all the prefixes 'key' into 'code' in each line of a file, the scenario must include the following steps:

  1. Searching for the file to parse.

  2. Extracting each line from this file.

  3. Changing the old prefix 'key' into 'code' in each line .

  4. Displaying the result on a console.

A scenario is graphically represented in CAT by a tree in which a component represents a basic action. The tree illustrating the previous scenario example will include the following components:

In the scenario window, the tree will appear as shown below:

Building a scenario

Before building a scenario, you must solve the following questions:

  1. Data import: How to import the data in the scenario?

  1. Data Modification: How to make collected data exportable?

  1. Data Export: How and where to export data?

  1. Execution Period: How to execute the scenario?

If you are in doubt about how to build a scenario, refer to the tutorial.

Executing a scenario

When a scenario is completely built, you can execute it. You must choose the mode in which you will execute the scenario.

Managing scenarios

The procedures to save, view or modify scenarios vary according to the execution mode.