I have a workflow that goes from requester(initiator) to their supervisor, then branch manager to the director, etc. If the requester happens to be a branch manager, we don't want it to go the regular workflow route. Is there a way that I can set up a run if or something that will find the title for the requester in active directory so that I can set the state machine to skip the branch manager and director step?
There should be a Query User Profile action which allows you to select a user profile property and store it in a workflow variable. Or use a web service action to call a Active Directory web service...
Another option, assuming you use some kind of Forms product (Nintex Forms or InfoPath) where you could do the same and store it in the formfield or SP column.
Both of these actions could be used, the first requires they have used Sharepoint before, as a submitter that is no issue, the second will work with any user but requires stored credentials to access AD.
Query user profile:
2013:
2016:
https://help.nintex.com/en-US/nintex2016/sp2016/Workflow/ActionsCore/QueryUserProfile.htm
Query LDAP:
2013:
2016:
https://help.nintex.com/en-US/nintex2016/current/#sp2016/Workflow/ActionsCore/QueryLDAP.htm
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.