When an object has been assigned a situation, the synchronization process takes the configured action on that object. If no action is configured, the default action for that situation applies.
The following actions can be taken:
Create and link a target object.
Link and update a target object.
Delete and unlink the target object.
Link the correlated target object.
Unlink the linked target object.
Flag the link situation as an exception.
Do not use this action for liveSync mappings.
In the context of liveSync, the EXCEPTION action triggers the liveSync failure handler, and the operation is retried in accordance with the configured retry policy. This is not useful because the operation will never succeed. If the configured number of retries is high, these pointless retries can continue for a long period of time.
If the maximum number of retries is exceeded, the liveSync operation terminates and does not continue processing the entry that follows the failed (EXCEPTION) entry. LiveSync is only resumed at the next liveSync polling interval.
This behavior differs from reconciliation, where a failure to synchronize a single source-target association does not fail the entire reconciliation.
Do not change the link or target object state.
Do not perform any action but report what would happen if the default action were performed.
Do not perform any action or generate any report.
An asynchronous process has been started, so do not perform any action or generate any report.
The following excerpt of a sample mapping specifies that an inline script should be invoked when a synchronization operation assesses an entry as
ABSENT in the target system. The script checks whether the
employeeType property of the corresponding source entry is
contractor. If so, the source entry is ignored. Otherwise, the entry is created on the target system:
The following variables are available to a script that is called as an action:
recon.actionParamcontains information about the current reconciliation operation).
For more information about the variables available to scripts, see Script Variables.
The result obtained from evaluating this script must be a string whose value is one of the synchronization actions listed in Synchronization Actions. This resulting action is shown in the reconciliation log.
To launch a script as a synchronization action Using the Admin UI:
Select Configure > Mappings.
Select the mapping that you want to change.
On the Behaviors tab, click the pencil icon next to the situation whose action you want to change.
On the Perform this Action tab, click Script, then enter the script that corresponds to the action.