You can manually apply a set of conditions to an attribute by configuring the Conditional Mapping element.
To manually apply a set of conditions to an attribute:
-
From the Mapping section, click the downward-facing arrow
of the selected attribute mapping.
The mapping panel is expanded, displaying the mapping element section with the plus button.
-
Click the
plus
button
to create a new mapping element.
A list of available mapping elements is displayed.
-
Select Conditional Mapping.
The Conditional Mapping dialog box is displayed.
- From the Attribute drop-down list, select an attribute to apply a condition to.
-
Configure the condition by performing the following steps:
- From the Operator drop-down list, select an operator to apply the search condition with.
- In the Search String field, enter a value to evaluate the condition against.
- In the Result String field, enter a value to be applied when the attribute's value matches the condition.
-
To perform a case-sensitive search, switch off the Case
Insensitive Search toggle.
To delete a condition, click the Delete Condition button
next to the condition.
-
Optional: If needed, create a new condition by clicking New
Condition, and then repeat step 5 to configure it.
You can combine multiple conditions to create a more complex rule. Conditions are linked using the logical operator "AND", and the result depends on the truth values of each individual condition.
In the following example, if the claim_no attribute equals 123, then the attribute is assigned the value of This is claim 123. If the claim_noattribute does not equal 123 and is not blank, the attribute is assigned the Claim Number value.
To delete a condition, select the Delete Condition button
next to a condition.
To reorder a condition, select the Move Condition button
next to a condition, and then drag and drop the condition to its new position.
-
Define the default behavior to process cases that do not match any specified
condition by doing one of the following:
- If you want the selected attribute's value to be the default one when no match is found, leave the Default to Attribute's Original Value toggle switched on.
- If you want to enter a default value of the selected attribute when no match is found, switch off the Default to Attribute's Original Value toggle and enter the default value.
- If you want the default value to be an empty string, switch off the Default to Attribute's Original Value toggle and leave the Default Value field empty.
In the following example, if the claim_no attribute is blank, then the attribute is assigned the Default Value, This is not a claim. - Click OK.
To preview this mapping, click the
Preview button
. For more information on previewing mappings, see Previewing Mappings.