Define advanced sync situation rules
Situation rules control what Advanced Identity Cloud does for each record during reconciliation, based on how the source object relates to the corresponding target object.
For every advanced sync mapping, Advanced Identity Cloud:
-
Evaluates the correlation query for each source object.
-
Classifies the result into a situation (for example,
Found,Ambiguous,Absent). -
Performs the action you’ve configured for that situation (for example,
Create,Update,Link,Delete,Ignore) on the target system.
All situation rules default to the Async action until you change them.
View and edit situation rules
To configure situation rules for a mapping:
-
In the Advanced Identity Cloud admin console, open the Advanced Sync editor.
-
In the Advanced Sync editor, open the mapping you want to configure.
-
Click the Situation Rules tab to display the Situation and Action that define rules for various sync situations.
-
Click the Situation rule to edit or click the ellipsis icon () adjacent to the Situation and Action, then click Edit.
-
In the Situation Rule modal, in the When situation occurs list, select Perform Action (default) or Execute Script:
-
For Execute Script, enter your script in the commented code block:
// Script has access to the following variables: // source, target, sourceAction, linkQualifier, context, recon // the recon.actionParam object contains information about the current recon operation.Learn more about the available variables and action scripting patterns in Script triggers defined in mappings and Synchronization actions.
-
-
In the second list for When situation occurs, select an action as described in Advanced sync rule action types.
-
For advanced settings, click Show advanced settings to display the following options:
-
Restrict situation lets you specify query filters or add a script to restrict policy actions to a subset of records where situation is applicable.
-
Execute script on action complete lets you set up a script to execute after your action is complete.
-
-
Click Save.
Advanced sync situation rules
| Situation | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Advanced sync rule action types
When a reconciliation determines the situation of a record, you must specify the action to be taken.
Async is the default action state.
|
| Action | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|