...
Condition | |
---|---|
resource assignment → Resource → ResourceType → TargetSystem → SystemRecurringTaskFeatures | DeprovisionResourceFromIdentity (14) has to be active |
resource assignment → IdentityType → TargetSystem → SystemRecurringTaskFeatures | DeprovisionResourceFromIdentity (14) has to be active |
resource assignment → Resource → ResourceType → SystemRecurringTaskFeatures | DeprovisionResourceFromIdentity (14) has to be active |
Deprovisioning starts with running Deallocation Workflow.
Elsa Deallocation workflow can be set on ResourceType (servicedmcore_resource_type_workflow
table).
Workflow Foundation Deallocation workflow can be set up directly on the Resource (DeallocateWorkflow
column).
If resource has DeletePending
set to true
and ResourceAccessLevel has SkipDeprovisioningAssignmentUponResourceDeletion
set to true
- the resource assignment will not be deprovisioned (there should be message in the logs).
Otherwise the deprovisioning will run. The system connector will run RemoveResourceFromIdentity
or RemoveIdentityFromResource
depending on LinkDirection
from Resource Provisioning Configuration.
Last step is to adjust the resource assignment from the database.
If resource assignment has Ignore
set to true
and state Assigned
or if it is in state DeletePendingSetToPendingAssignment
- the assignment state will be changed to AssignmentPending
Otherwise it will be deleted from database.