In this article, we will explain how to Merge all assigned tasks to you or to a group that you belong to in a custom task list view using SharePoint Designer?
You might also like to read Assign Task to Group in SharePoint Designer Workflow
In SharePoint Workflow Task List,
![Merge all assigned tasks to you or your group into a custom task list view using SharePoint Designer Task list in SharePoint](https://i0.wp.com/spgeeks.devoworx.com/wp-content/uploads/2017/11/workflow-task-list-in-sharepoint.png?resize=333%2C291&ssl=1)
Consider you are a member of a specific group.
- If you have assigned to Tasks directly, you will follow up your assigned tasks from “My Tasks” view.
![Merge all assigned tasks to you or your group into a custom task list view using SharePoint Designer All assigned tasks to me](https://i0.wp.com/spgeeks.devoworx.com/wp-content/uploads/2017/11/my-tasks.png?w=1620&ssl=1)
- But if tasks assigned to your group (In my case: “Qassas Owners”) that you are a member, you will follow up these tasks from “By My Groups” view.
![Merge all assigned tasks to you or your group into a custom task list view using SharePoint Designer all assigned tasks to my group](https://i0.wp.com/spgeeks.devoworx.com/wp-content/uploads/2017/11/by-my-groups.png?w=1620&ssl=1)
Here, I will show all assigned tasks assigned to in one view you whether
- The task has been assigned directly to you or
- It has been assigned to groups of which you are a member.
![Merge all assigned tasks to you or your group into a custom task list view using SharePoint Designer Merge all assigned tasks to you or your group into a custom task list view using SharePoint Designer](https://i0.wp.com/spgeeks.devoworx.com/wp-content/uploads/2017/11/how-to-merge-all-tasks-that-assigned-to-you-or-to-a-group-you-belongs-to-in-a-custom-task-list-view-via-sharepoint-designer.png?resize=341%2C340&ssl=1)
- Create a custom view from the existing view “My Tasks“.
- From the above ribbon > List Tab > Click on Create View.
- Below Start from an existing view > Click on “My Tasks” view.
![Merge all assigned tasks to you or your group into a custom task list view using SharePoint Designer create a view Start from existing view](https://i0.wp.com/spgeeks.devoworx.com/wp-content/uploads/2017/11/create-a-view-start-from-existing-view1.png?w=1620&ssl=1)
- Open SharePoint Designer > Open your site.
- Go to Tasks list >Views > edit your newly created custom view in Advance Mode.
![Merge all assigned tasks to you or your group into a custom task list view using SharePoint Designer How to Merge all tasks that assigned to you or to a group you belongs to in a custom task list view via SharePoint Designer?](https://i0.wp.com/spgeeks.devoworx.com/wp-content/uploads/2017/11/edit-view-in-advanced-mode.png?w=1620&ssl=1)
- In
<view>
tag, find the<Query>
tag, within it, add the below line before<OrderBy>
tag.
<GroupBy Collapse="TRUE" GroupLimit="30"><FieldRef Name="AssignedTo"/></GroupBy>
- Again, before
</Query>
tag, Find the<where>
tag, and remove it.
![Merge all assigned tasks to you or your group into a custom task list view using SharePoint Designer How to Merge all tasks that assigned to you or to a group you belongs to in a custom task list view via SharePoint Designer?](https://i0.wp.com/spgeeks.devoworx.com/wp-content/uploads/2017/11/edit-my-tasks1.png?w=1620&ssl=1)
<Where><Eq><FieldRef Name="AssignedTo"/><Value Type="Integer"><UserID Type="Integer"/></Value></Eq></Where>
- Replace the removed
<where>
tag with the below Membership element.
<Where><Or>
<Membership Type="CurrentUserGroups">
<FieldRef Name="AssignedTo"/>
</Membership>
<Eq>
<FieldRef Name="AssignedTo"></FieldRef>
<Value Type="Integer">
<UserID/>
</Value>
</Eq>
</Or></Where>
Note: Membership element defines a filter for cases where the user is either assigned a task based on membership in a group or assigned a task directly.
![Merge all assigned tasks to you or your group into a custom task list view using SharePoint Designer Merge all tasks that assigned to you or to a group you belongs to in a custom task list view via SharePoint Designer](https://mohamedelkassas.files.wordpress.com/2015/10/merge-all-tasks-that-assigned-to-you-or-to-a-group-you-belongs-to-in-a-custom-task-list-view-via-sharepoint-designer2.gif?w=1620)
- Save the newly created view > Press F12 to preview it in the browser.
- Your assigned tasks should be now shown in one custom view, whether
- The task has been assigned directly to you or
- It has been assigned to groups of which you are a member.
![Merge all assigned tasks to you or your group into a custom task list view using SharePoint Designer Merge all tasks that assigned to you or to a group you belongs to in a custom task list view via SharePoint Designer?](https://i0.wp.com/spgeeks.devoworx.com/wp-content/uploads/2017/11/how-to-merge-all-tasks-that-assigned-to-you-or-to-a-group-you-belongs-to-in-a-custom-task-list-view-via-sharepoint-designer.png?resize=341%2C340&ssl=1)
Conclusion
In conclusion, we have explained How to show the assigned tasks to the current user or a group that the current user belong to in one custom view using SharePoint Designer.
Applies To
- SharePoint 2016.
- SharePoint 2013.
- SharePoint 2010.
Awesome and detail article