Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Introduction

The UpdateIdentityTask tasks main responsibility is to keep identities in sync with the relating entities and the configuration. It resolves the attribute mappings, checks if the identity should be active or not and performs anonymization.

Value

GUID

9c2349cf25db4366b28541efbe374492

Scheduled by default

(tick)

Interval in seconds

600

Concurrent

(tick)

Parameters

Code Block
uint[] with CoreIdentity Ids

Action Performed

Task loops throught Identities.There are 3 processes involvedthrough Identities and performes three main actions:

Task Details

Base Update / Anonymization WorkItems

All three sub-actions are based on a base configuration:

Base Update/Anonymization

Condition

Identity Type Feature

UpdateIdentity (5) has to be active

System Type Feature

UpdateIdentity (9c2349cf25db4366b28541efbe374492) has to be active

(optional) CoreIdentity Ids uint[] from task parameter

Identity has to belong to one of the Core Identities

And at least one of the following condition set:

Active identities:

Core Identity

State = Active (1) OR AnonymizationStatus = PendingAnonymization (2)

Identity

CreationState = Ready (2)

To anonymize:

Core Identity

State = Deleted (2) AND AnonymizationStatus = PendingAnonymization (2)

Inactive but with update enabled:

Identity Type Feature

UpdateIdentityWhenCoreIdentityIsDisabled (13) has to be active

Core Identity

State = Deleted (2)

Deactivate because CoreIdentity is suspended:

Core Identity

State = Suspended (3)

Identity

Active

Reactivate because CoreIdentity no longer suspended:

Core Identity

State = Active (1)

Identity

NOT Active AND DeactivatedBy IS EMPTY

And does not match below condition set (ignore because they are suspended):

Core Identity

State = Suspended (3)

Identity

NOT Active

...

Changes

Condition

Identity

AnonymizationStatus set to AnonymizationStarted (3)

There were changes of attribute values

Identity

AnonymizationStatus set to HistoryAnonymizationNeeded (4)

There were NO changes of attribute values

Deactivate identities with inactive core identity

Deactivate identities - Filter

...

Changes

Identity

Active set to false

Identity

HasActiveChanged set to true

TODO: Involved in processes

...

Large processes

This task is involved in larger multi-task processes that are documented below:

  • provisioning/propagating changes (separate page with simple diagram how change is flowing from task to task)

...

  • anonymization

...