I have a list of employees and need to enable their accounts in the source system. The process I’m considering is:
Use a search query in Get List of Identities to retrieve the identities.
Loop through them one by one.
For each identity, use the Enable Account API to enable the account in the respective source.
Essentially, the idea is to find all the links associated with an identity and enable them in the source. Is this the best approach?
if its for one or handful of sources, I would use accounts list API to get them and iterate over it. this way you have other account data to build your logic to enable/disable them
you may not be able to get this done using regular workflows due to limitations in the count of loops. you might want to check recursive workflows but i would execute this from an external script. but if you still want to give it a shot, you will need to have another workflow called from the loop in the first workflow the second workflow will have the loop to go over accounts for every identity in you first workflow loop.