Skip to content

read_group_file

Syntax

read_group_file("filename")

Parameters

filename
The name of comma-separated file, surrounded by quotes. The filename may include the path to the file in addition to the name.

Returns

This action returns a list of agent IDs specified in the group file.

Description

Read a file to assign agents to specific groups.

This is a Meta agent action that reads a CSV file with one entry per line with the following format:

ID, PLACE, ROLE
...

Agents specified in the ID column will join the respective group denoted under the PLACE column with a specified ROLE value.

All other fields will be ignored.

An error will occur if the specified file cannot be found.

See Also