I have a requirement where I have to find out who approved or rejected a request approval task, that is assiged to a group.
I am using Nintex workflow 2013
Thanks for your help.
We are now using the following Regular Expression to extract the Approver Name from the Approval Comment:
If you are using an approval activity with only one approver. The approver Name should always be stored in the second value from the extracted collection variable.
The workflow variable "Display name of last approver" should always contain the last approver's name even if a task is assigned to a SharePoint group. Also you should be able to see the approver's name in the workflow history view of the item.
Thanks for your reply.
1. There is no property called "Display name of last approver", all I have is "Last task respondent display name", but this is having the group the task is assigned to rather than the person approved/rejected the task
2. How can we use the data in the workflow history view? However even the history view is showing as sharepoint group rather than individual
3. I even thought of going to the workflow task and check for last modified, but it turns out the last modified is by system.
hm, then my memory was wrong.
Another option would be to use the group in the task action but also check the check box "create intividual tasks for all group members". This should extract one task for each group member. Make sure you're using a SharePoint group as AD groups can't be resolved that way.
Did it help you?
What i have done is:
1) first create a list column with people picker and select allow multiple selections plus allow selection of people and groups.
2) on your workflow create a set field value to the column you just created with the group name.
Hope that will do at least something.
Last Task Respondent Display Name
"Last Task Respondent Display Name" returns just the value of the assigned to field from this approval task.
So, if you assign a Task to a Group, you will have no Chance to figrue out who has approved. The only place where you can find this Information is in the approval comment. Unfortunately you can't Isolate the Name in this comment in a easy way.
I highly appreciate any idea's for a good Workaround!
I am facing the same difficulty as mentioned above.
Could you please explain the regular expression you have mentioned above?
I could use form info too, thanks!
I was wondering if you ever solved this issue? as I need a solution right now for that
The above solution is for Sharepoint 2013 on-prems version. Nintex Online version we don't have "Last Task Respondent Display Name" function and also when you read the value from apporval comment column that column value is always empty.
We have an option to retrieve the approver and rejecter name from workflow task list when task assigned to Sharepoint Group.
Please follow the below steps to do this.
Use “Start a task process” instead of “Assign a Task”.
Start a task process: This workflow action is used to assign a task to multiple participants.
Assign a task : This workflow action is used to assign a task to single user and then direct the workflow based on the outcomes.
Once used the above action in your workflow. We have to do some additional changes in workflow to show the approver/rejecter name in list column for taking report.
Inside that use “Query List” action and configure the below properties.
Only “Query List” action should be sufficient to fetch all approvers and rejecters from multiple tasks, “Loop with condition” action will not be required,.
Please add “Query List” action and configure the below properties.
The “ApprovedByTextCollection” variable will contain assignee of all tasks for speciifc item seperated by comma character, for example [["Dhamodharan, Kokila"], ["Thangavel, Muthusamy"].
Please let us know if you need more information.
what is a flag variable? i can't collect the approver or rejecter, i want to show them in a column in sharepoint.
Can you please Show a Screenshot? I Need help
Retrieving data ...