Skip to content

Commit 24fddf0

Browse files
authored
Merge pull request #491 from Evolveum/docs/4.10/add/failing-reconciliation-marks
Docs/4.10/add/failing reconciliation marks
2 parents d349b76 + 9fc3294 commit 24fddf0

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/concepts/mark/index.adoc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,15 @@ Used in the same way as "Protected" when you have different reasons than for the
355355
|Shadow object that has bad data and should be ignored by synchronization. Used in the same way as "Protected" but with a different semantic meaning.
356356
|===
357357

358+
If reconciliation repeatedly fails on a subset of resource objects due to invalid or corrupted data, you can quarantine the failing shadows by applying a shadow policy mark such as _Invalid data_.
359+
Once applied, the mark disables synchronization (inbound/outbound) and provisioning operations for those shadows.
360+
Subsequent reconciliation runs can then skip the marked shadows (until unmarked) instead of repeatedly processing them.
361+
362+
This can be automated using a composite task containing two activities.
363+
While the first activity runs a reconciliation, the second activity immediately processes only the failed objects (using `failedObjectsSelector`) and applies a mark.
364+
After you fix the source data, remove the mark from the shadows (in Accounts/Entitlements list of a resource in GUI), and then reconcile the objects manually.
365+
See a link:https://github.com/Evolveum/midpoint-samples/blob/master/samples/tasks/recon-task-csv-mark-invalid.xml[composite task example].
366+
358367
== Best practices
359368

360369
* Use clear and descriptive names for marks, such as "inactive", "requires-approval", or "archived".

0 commit comments

Comments
 (0)