Input Files using the --command Option and the Regular Command Line Format

In this case, you use the --command option with the input file and then follow it with the regular command line options and parameters. The --command option allows you to include the options and parameters for more than one action and thus execute multiple actions with one command call. Each set of options and parameters is within a different --command section.

For example, the input file could contain:

# Action 1
#
--command
-b Actor 
-a AssignRoleToActor 
--fields Actor=jsmith Role=EmployeeLite_ST

# Action 2
-b Actor 
-a AssignRoleToActor 
--fields Actor=mowens Role=EmployeeLite_ST

# Action 3
-b Actor 
-a AssignRoleToActor 
--fields Actor=rmendez Role=EmployeeLite_ST

The command line would be the following:

execaction gen -f addMultiRoles.txt