Help to check if the user is member of AD group even before using "Add user to a Group" activity?

Alistair_Pleas1
Tera Contributor

Does anyone know of the best way we can perform a pre check to see if the user is apart of a AD group prior to running the Add user to a Group" activity?

We have a workflow that is adding users to AD groups, however, if the user is already apart of the AD group the workflow activity fails. We would like to do a pre check and see if the user is already apart of the AD group to bypass the 'add user to a group' activity. I have looked into using the query AD activity but not sure of the exact configuration.

5 REPLIES 5

ViswaSunny
Tera Contributor

Hey,
I do have a similar requirement, did anyone got any solution? could you please share that