Skip to main content
Nintex Community Menu Bar
Solved

Using Nintex for O365, can you identify if someone you are about to email is an active member of staff (i.e. set up on the system).

  • June 8, 2016
  • 1 reply
  • 21 views

Forum|alt.badge.img+1

I have their email address. I tried to use "Query User Profile" hoping that a null result for a particular property (e.g. Name) would indicate that the user no longer exists. But instead the workflow enters a suspended date as it can not find anyone by that email.

 

Is there any way to catch that exception?

Best answer by janeyres

Hi,

Doesn't look like that action has error trapping associated with it, but you could use REST to query the user profile instead, e.g. http://siteurl/_api/SP.UserProfiles.PeopleManager/GetPropertiesFor(accountName=@v)?@v='encoded account name'

Then you can handle any errors yourself.

Jan

1 reply

Forum|alt.badge.img+7
  • 179 replies
  • Answer
  • June 8, 2016

Hi,

Doesn't look like that action has error trapping associated with it, but you could use REST to query the user profile instead, e.g. http://siteurl/_api/SP.UserProfiles.PeopleManager/GetPropertiesFor(accountName=@v)?@v='encoded account name'

Then you can handle any errors yourself.

Jan