assuming angle brackets are not part of manager's name and round brackets enclose only manager's name, following regex should work for you
(?<=()[ws]+(?=))
That seemed to work, thanks for your quick response!
Beau Landry
Content Management Application Administrator
Continental Resources, Inc.
20 N. Broadway
OKC, OK 73102
P/F: 405.774.5963
C: 405.435.0584
Beau.landry@clr.com<mailto:Beau.landry@clr.com>
www.clr.com<http://www.clr.com/>
Mailing:
P.O. Box 269000
OKC, OK 73126
One other question, could you possibly break this expression down so I know why it worked?
Beau Landry
Content Management Application Administrator
Continental Resources, Inc.
20 N. Broadway
OKC, OK 73102
P/F: 405.774.5963
C: 405.435.0584
Beau.landry@clr.com<mailto:Beau.landry@clr.com>
www.clr.com<http://www.clr.com/>
Mailing:
P.O. Box 269000
OKC, OK 73126
So come to find out, not all of our accounts have the username in the DN. That is something new they just started adding in AD. Is there a different way to pull the task assignee’s manager username or email address so we can create a task for them as well? Thanks again.
Beau Landry
Content Management Application Administrator
Continental Resources, Inc.
20 N. Broadway
OKC, OK 73102
P/F: 405.774.5963
C: 405.435.0584
Beau.landry@clr.com<mailto:Beau.landry@clr.com>
www.clr.com<http://www.clr.com/>
Mailing:
P.O. Box 269000
OKC, OK 73126
Well, if your AD has the manager property correctly filled and UPS is setup you could use the query user profile action to query the UPS for a user's manager.
If you want the manager of the current person, there should already be a workflow context property for the manager.
Thanks for your response. I’m unable to use the manager context property because the person initiating the workflow is not the same person that’s getting assigned the task.
I meant to add we do not have the Enterprise edition, so we do not have the “query user profile” action available to us.
Beau Landry
Content Management Application Administrator
Continental Resources, Inc.
20 N. Broadway
OKC, OK 73102
P/F: 405.774.5963
C: 405.435.0584
Beau.landry@clr.com<mailto:Beau.landry@clr.com>
www.clr.com<http://www.clr.com/>
Mailing:
P.O. Box 269000
OKC, OK 73126
You may want to post a new question with this in it, as it's a bit different from the title on this one! You'll probably get more responses.
But do you have the manager property filled in AD?
I’m starting a new discussion on this now.
We do have the manager property populated. The problem is when I query LDAP in Nintex WF, it pulls the DN. I need to be able to pull the manager’s username or email in order to create a task for them after their direct report completes his/her task.
Beau Landry
Content Management Application Administrator
Continental Resources, Inc.
20 N. Broadway
OKC, OK 73102
P/F: 405.774.5963
C: 405.435.0584
Beau.landry@clr.com<mailto:Beau.landry@clr.com>
www.clr.com<http://www.clr.com/>
Mailing:
P.O. Box 269000
OKC, OK 73126
Here’s the new discussion link: https://community.nintex.com/message/56566-find-managers-usernameemail-address.
Beau Landry
Content Management Application Administrator
Continental Resources, Inc.
20 N. Broadway
OKC, OK 73102
P/F: 405.774.5963
C: 405.435.0584
Beau.landry@clr.com<mailto:Beau.landry@clr.com>
www.clr.com<http://www.clr.com/>
Mailing:
P.O. Box 269000
OKC, OK 73126
Here’s the new discussion link: https://community.nintex.com/message/56566-find-managers-usernameemail-address.
Beau Landry
Content Management Application Administrator
Continental Resources, Inc.
20 N. Broadway
OKC, OK 73102
P/F: 405.774.5963
C: 405.435.0584
Beau.landry@clr.com<mailto:Beau.landry@clr.com>
www.clr.com<http://www.clr.com/>
Mailing:
P.O. Box 269000
OKC, OK 73126
here you are
(?<=() ......... searches for opening bracket right before pattern of interest, without including it into match
pws]+ ............... searches for presence of 1 or more of any combination of alphanumeric character and white space character
(?=)) ................. searches for closing bracket right after pattern of interest, without including it into match
Thanks!
Beau Landry
Content Management Application Administrator
Continental Resources, Inc.
20 N. Broadway
OKC, OK 73102
P/F: 405.774.5963
C: 405.435.0584
Beau.landry@clr.com<mailto:Beau.landry@clr.com>
www.clr.com<http://www.clr.com/>
Mailing:
P.O. Box 269000
OKC, OK 73126
You could also try Online regex tester and debugger: PHP, PCRE, Python, Golang and JavaScript - when you paste your test-string as well as the regex in there, you'll even get an explanation!