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).

  • 8 June 2016
  • 1 reply
  • 2 views

Badge +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?

icon

Best answer by janeyres 8 June 2016, 16:01

View original

1 reply

Badge +7

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

Reply