I’m developing a workflow triggered by a Native Change Account Created
The goal is to ensure that when a new account is created in the authoritative source, the system checks whether that identity already has another account in the same source.
In more detail:
When a new account is created, the workflow should query all accounts from a specific source associated with that identity.
If the query result shows that there is more than one active account for the same identity, the process should remove (or deactivate) the previous account, keeping only the most recent one active.
If anyone has implemented a similar logic or can share best practices, expressions, or condition examples for this type of scenario, I’d really appreciate your input!