andrewwhitmorer

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

Jump to solution

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?

0 Kudos
Reply
1 Reply
janeyres
Novice

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

Jump to solution

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