cancel
Showing results for 
Search instead for 
Did you mean: 
Workflow Hero

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
Workflow Hero

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

Accept as Solution Reply
Workflow Hero

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
Accept as Solution Reply
Workflow Hero

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
Accept as Solution Reply
Workflow Hero

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
Accept as Solution Reply
Workflow Hero

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

Hi Joe,

SharePoint App will be showing because the task was completed via a Nintex method such as Lazy Approval or Actionable Message perhaps, because we take the action on behalf of a user it shows as SharePoint App (because we can't impersonate a user arbitrarily).

Thanks,


Callum

0 Kudos
Accept as Solution Reply
Workflow Hero

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.

Accept as Solution Reply
Workflow Hero

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

Dear Callum,

So how can I get the user name who approved the task?

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
Accept as Solution Reply
Workflow Hero

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

Right now it would be the Assigned To user, when we update a task via LazyApproval or Actionable Message, we check to make sure that the identity of the approver matches what is in the task, to cater for situations like escalations. If the user doesn't match then we won't process the outcome.

Callum

0 Kudos
Accept as Solution Reply
Workflow Hero

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

Dear Callum,

I don’t understand why I can get the Assignee name (Task Properties --> Assignee) and paste into the approver’s email, but cannot record the name of assignee to Workflow task list?

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
Accept as Solution Reply