Skip to main content
Nintex Community Menu Bar

Can a run if control be based on the initiator's title in active directory?

  • November 8, 2022
  • 2 replies
  • 12 views

Forum|alt.badge.img+3

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?

2 replies

Forum|alt.badge.img+11
  • Scout
  • November 11, 2022

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.


Jake
Forum|alt.badge.img+13
  • Scholar
  • November 14, 2022

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:

https://help.nintex.com/en-us/nintex2013/help/workflow/RootCategory/Actions/Nintex.Workflow.QueryUserProfile.htm

2016:

https://help.nintex.com/en-US/nintex2016/sp2016/Workflow/ActionsCore/QueryUserProfile.htm

 

Query LDAP:

2013: 

https://help.nintex.com/en-us/nintex2013/help/workflow/RootCategory/Actions/Nintex.Workflow.QueryLDAP.htm

2016: 

https://help.nintex.com/en-US/nintex2016/current/#sp2016/Workflow/ActionsCore/QueryLDAP.htm