The parameters in Workflow Automation (WFA) commands are mapped to specific attributes and dictionary entry references based on certain rules. You must be aware of the rules to map command parameters when you create or edit a WFA command.
Command parameter mapping defines how command details are defined in the workflows. Mapped command parameters of a command are displayed in tabs when you are specifying the command details for commands in workflows. The tabs are named based on the group name specified in the Object Name column of the Parameters Mapping tab. The parameters that are not mapped are displayed in the Other Parameters tab when you are specifying the command details in workflows.
The rules for command parameter mapping are applicable based on the command category and how the commands are represented in the workflow editor.
The following are the command categories:
The rules are listed below for each category:
When mapping a command parameter, you should use the natural path based on how the command is used in workflows.
The following examples show how you can define a natural path:
This is important when a workflow creates a volume and then performs an additional step with the created volume by referring to it. The following are similar examples:
This category of commands is used for one of the following:
You should use the following parameter mapping rules for this category of commands:
The following are the exception scenarios for this rule:
For example, the ExecutionTimeout parameter in the Create or resize aggregate command is an unmapped parameter.
The following certified commands are examples for this category:
This category of commands is used to find an object and update the attributes.
You should use the following parameter mapping rules for this category of commands:
For example, in the Set Volume State command, the Volume parameter is mapped but the new State is unmapped.
This category of commands is used to find an object and delete it.
You should map the object that is deleted by the command to its dictionary entry. For example, in the Remove Volume command, the Volume to be deleted is mapped to the relevant attributes and references of the Volume dictionary entry.You should use the following parameter mapping rules for this category of commands:
This rule is more relevant when a command deals with optional child objects of a specific parent object. In this case, the child and parent object should be mapped explicitly. For example, in the Stop Deduplication Jobs command, the command stops a running deduplication job on a specific volume when specified along with Array or on all volumes of the given Array. In this case, the array parameter should be mapped directly to the array dictionary entry and not to Volume.Array because Volume is an optional parameter in this command.
For example, in the Move Volume command, Volume is moved from its current parent aggregate to a new destination aggregate. Therefore, Volume parameters are mapped to a Volume dictionary entry and the destination aggregate parameters are mapped separately to the Aggregate dictionary entry but not as volume.aggregate.name.
For this category of commands, you should map both the association and the objects to relevant dictionary entries. For example, in the Add Volume to vFiler command, the Volume and vFiler parameters are mapped to the relevant attributes of the Volume and vFiler dictionary entries.