cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
joelau
Nintex Newbie

How can i get the name of the person who approved a request from a user group?

Let say i have a task assigned to a group of people by using the "Start a task process", inside the user group have 3 people (e.g. User A, B, C), the task will be completed once one of the user approved or rejected from the user group.

Finally i need send an email to the initiator who approved or rejected the request from the user group. (User A or B or C)

How can i do it in o365 workflow? thanks.

Labels: (1)
Reply
15 Replies
freerider38
Nintex Newbie

Re: How can i get the name of the person who approved a request from a user group?

Hi,

on "start a task process" action, you have a new parameter named "Task IDs"

It allow you to define a variable (collection type) in wich Nintex will store ID of all task generated

After you juste have to loop on it and do your job

Reply
joelau
Nintex Newbie

Re: How can i get the name of the person who approved a request from a user group?

How come the value of "Modify By" is showing "SharePoint APP" in my workflows task list? 

0 Kudos
Reply
shaunlub
Nintex Newbie

Re: How can i get the name of the person who approved a request from a user group?

Even though a person is assigned a task as a group member, they fill out the form as an individual, and therefore their name can be saved to a workflow variable. You would have to make sure that you set the Assignment Behaviour to 'Assign a Task to each member within groups'.

In my example I am collecting both approver name, outcome and comments:

https://community.nintex.com/docs/DOC-6372-how-to-collect-multiple-approver-comments-and-decisions-f...

0 Kudos
Reply
joelau
Nintex Newbie

Re: How can i get the name of the person who approved a request from a user group?

How come the value of "Modify By" is showing "SharePoint APP" in my workflows task list?

0 Kudos
Reply
shaunlub
Nintex Newbie

Re: How can i get the name of the person who approved a request from a user group?

As mentioned by Callum, if the assigned task is completed by email approval, the modified by is set to SharePoint App. If this task was assigned to an individual, you can deduce that the approving person is the assignee - email approval only works from the assigned account.

We probably cannot deduce this if it is assigned to a group. For that, you may need to assign approvals individually, or force approvers to use the form; and not approve through email.

Reply
Nintex Employee
Nintex Employee

Re: How can i get the name of the person who approved a request from a user group?

That's correct, though if you need to see exactly who completed a task you may want to look at the Start a Task Process, which handles multiple task allocations, you can then assign a task to a group of users, and set it so that the first responder completes the process (same as Assign a Task behaviour). The advantage of this is that you can then see the exact task and assignee that completed the process.

0 Kudos
Reply
joelau
Nintex Newbie

Re: How can i get the name of the person who approved a request from a user group?

But if I use “Start a task process” and set it to first responder completes the process, the “Modify by” in workflow list is showing “SharePoint App”, how can I get the name of approver exactly?

Best Regards,

Joe Lau

Systems Analyst

IMAGINEX GROUP

30/F, One Island South,

2 Heung Yip Road, Wong Chuk Hang, Hong Kong.

TSmiley Sad852) 3102 3712 FSmiley Sad852) 3101 5856

www.imaginex.com.hk<http://www.imaginex.com.hk/>

0 Kudos
Reply
Nintex Employee
Nintex Employee

Re: How can i get the name of the person who approved a request from a user group?

In the Start a Task model, if you assign it to a group of three people, three tasks will be created, one assigned to each person. So the task that is completed and returned from the task action will be the one assigned to the person that completed the task (the other two tasks assigned to the other two respective individuals would be deleted).

This differs from assign a task which has a single task assigned to the group identity, then there is no way to know which member of the group completed it (it is not relevant in the Assign a Task model).

Hope that helps

Callum

0 Kudos
Reply
joelau
Nintex Newbie

Re: How can i get the name of the person who approved a request from a user group?

So.. I may need to disable the lazy approval for a group of approver, force them to use the Task:URL link, anyway thanks for your help ~~

Best Regards,

Joe Lau

Systems Analyst

IMAGINEX GROUP

30/F, One Island South,

2 Heung Yip Road, Wong Chuk Hang, Hong Kong.

TSmiley Sad852) 3102 3712 FSmiley Sad852) 3101 5856

www.imaginex.com.hk<http://www.imaginex.com.hk/>

0 Kudos
Reply