Preeth31
Novice

Check whether multiple users are valid before assigning a task in Nintex Workflow

I would like to check whether user collection are exists in SP or not before assigning a task.

In few cases users are no longer exists in organisation but tasks are getting assigned to them. How to prevent such scenario.  

I have a group of users in a collection variable and assigning individual tasks to them. If any one user is not valid , how to stop the workflow or avoid assigning workflow task to that invalid ID

0 Kudos
Reply
2 Replies
SimonMuntz
Nintex Employee
Nintex Employee

Re: Check whether multiple users are valid before assigning a task in Nintex Workflow

Check for an attribute of the user using the user profile service. If it comes back blank or the action errors then you know the user is no longer with the company.
0 Kudos
Reply
Preeth31
Novice

Re: Check whether multiple users are valid before assigning a task in Nintex Workflow

Thanks for your reply.

 

I tried to use the User Query Profile action in Nintex Workflow 2013 but it is not returning any value . But in CA --> USP values are there like Acc Name and Work Email.

0 Kudos
Reply