Modifying attribute values by using rules
In a sync workflow step you can configure a set of rules to automatically modify attribute values during the step run. By using these rules, you can select or generate an initial value, transform this value if necessary, and then assign the resulting value to the object attribute you want.
To create a rule to modify attribute values
- In the Administration Console, open the Sync Workflows tab.
- Click the name of the appropriate sync workflow, then click the name of the sync workflow step.
- Depending on the workflow step type, complete the corresponding actions:
- Creating step. Click the Creation Rules tab, and then expand the Initial Attribute Population Rules element.
- Updating step. Click the Updating Rules tab, and then expand the Rules to Modify Object Attributes element.
- Deprovisioning step. Click the Deprovisioning Rules tab, and then expand the Rules to Modify Object Attributes element.
- In the element you have expanded, click the down arrow on the leftmost button to select a rule type:
- Forward Sync Rule. Allows you to create a rule that synchronizes attribute values from the source to the target data system. This type of rule is available in creating, updating, and deprovisioning steps. For more information, see Configuring a forward sync rule.
- Reverse Sync Rule. Allows you to create a rule that synchronizes attribute values from the target to the source data system. This type of rule is available in creating, updating, and deprovisioning steps. For more information, see Configuring a reverse sync rule.
- Merge Sync Rule. Allows you to create a rule that merges the values of specified attributes between the source and the target data systems. As a result, the attribute values in the source and the target become identical. This type of rule is only available in updating steps. For more information, see Configuring a merge sync rule.
Configuring a forward sync rule
A forward sync rule allows you to synchronize data from the source data system to the target data system. To create such a rule, follow the instructions in Modifying attribute values by using rules to select the Forward Sync Rule type. Then, configure your rule by using the options in the dialog box that opens.
Source item
Source item
This option allows you to obtain an initial value for the synchronization operation. You can then transform the obtained initial value before assigning it to the attribute you want.
To get started, click the down arrow on the button in this option, and then select an item from the drop-down list:
- Attribute. Allows you to select the attribute whose value you want to use.
- Rule. Allows you to obtain a value by using a value generation rule. For more information, see Using value generation rules.
- PowerShell script. Allows you to obtain a value by executing a Windows PowerShell script.
- Text. Allows you to type a text value.
- Referenced object attribute. Allows you select an attribute of a referenced object and use the value of the selected attribute.
- Parent object attribute. Allows you to select an attribute of a parent object and use the value of the selected attribute.
- Empty. Generates an empty value.
Once you have explicitly selected an attribute in this option, you can click the Advanced link to configure some advanced synchronization settings for the attribute.
For example, you can specify which characters to retrieve from the attribute value, how to modify the retrieved value (remove white-space characters or change the capitalization), or set how to process references in the attribute. The available settings depend on the attribute types selected in the Source item and Target item options.
Target item
Target item
This option allows you to select the target attribute whose value you want to modify.
To get started, click the down arrow on the button in this option, and then select an item from the drop-down list:
- Attribute. Allows you to select the object attribute whose value you want to modify.
- Referenced object attribute. Allows you to select the referenced object attribute whose value you want to modify.
- Parent object attribute. Allows you to modify attribute values of objects that are parents to the target object type selected in the sync workflow step settings.
Once you have selected an attribute, you can click the Advanced link to configure some advanced synchronization settings for the attribute.
For example, you can select how to handle the existing attribute value (overwrite or append data to the value) or set how to process references in the attribute. The available settings depend on the attribute types selected in the Source item and Target item options.