Hello! We’re making a workflow that sends a mail to the admin when an identity is created with a repeated employee number. Our problem is determining how to configure the workflow to follow different paths if the “get list of identities” retrieves no accounts or multiple accounts.
Please see the following thread. I had a similar issue I needed to solve and this thread is how I solved for it. If you need the code behind the report mentioned in this thread please let me know.
Are there any accounts with repeated employee number?
Use Define Variable below Get List of Identities which contains something like this
Identity 1 - JSON path to get 1st account ID
Identity 2 - JSON path to get 2nd account ID
Use Verify Data to check if Identity 2 have any value if yes send email else end the workflow