This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Active Roles Workflow Search function

Hello im hoping one of you fine people can help me with a dilemma..

I have a workflow where if the user selects a Virtual Attribute say "edsvaCreateADM" it will go and create the Admin Account with all the attributes populated... however, I have put a search function with an If-Else branch to search for existing user objects that might already exist with the same logon ID parameters and if so, it will specify a unique samAccountName. now if there already exists a user object in the test OU.. it works beautifully, however, if the OU is empty, it doesn't create the user.. the event logs basically states that there were no users found and so it doesn't create a new user. 

Question, is there a way to specify in an if-Else condition if a Searched for object returns a null value? I cant find it.. the conditions are only based on a found object.