Shared Datasets

Like variables, datasets are used to represent data in a task that may be different each time a task runs. But unlike standard variables, datasets can contain multiple rows and columns. In AutoMate, datasets have the ability to become ā€¯Shared Datasets", which are datasets that are accessible throughout an entire workflow. Unlike normal datasets that are created and shared within a single task, the value of a shared array can be read by other objects or tasks that reside in the same workflow.

Shared datasets are declared at the workflow level. This informs the workflow that the contents of the dataset can be shared between all objects in the workflow. For example, if a dataset created  in Task A running on Agent A, is declared by the workflow as a shared dataset, the values of that dataset can be retrieved and modified in Task B, C or D running on other Agents within the same workflow.

In order for a dataset to be declared as a shared dataset, it must be added to the Shared Datasets tab of the Workflow Designer. Follow the instructions below to accomplish this:

  1. From the Workflow Designer, select the Shared Datasets tab.

  2. Right click anywhere inside the Shared Datasets section. This will display a pop-up menu which provides the option to Add, Edit, Rename or Delete a shared dataset as shown below. Select the Add Dataset option as shown below, circled in red.

  1. A dialog titled Workflow Variable appears as shown below. On the General tab, enter the following information:

  1. On the Advanced tab, enter the following information:

  1. After entering the proper information, click OK to save changes and exit the properties dialog.

Workflow Variable Dialog

 

See Also

About Datasets

Workflow Designer

Multi-machine Workflows