My Tasks view NOT displaying group tasks

Issue:

Office 365 SharePoint workflow tasks list custom view ‘My Tasks’ filtered by ‘Assigned To’ does NOT display tasks ‘Assigned To’  SharePoint Groups in which user is a member of.

Fix:

Upon researching various posts, the quick way to resolve this seems to be altering ‘My Tasks’ view in SharePoint designer updating the query for filtering task assignments.

Go to the list in SharePoint Designer > My Tasks View (MyItems.aspx page) then Edit in advanced mode. Search for <Where><Eq><FieldRef Name=”AssignedTo”/> and replace the entire query to include filter for CurrentUserGroups as well.

Before modification:

<Where>
<Eq><FieldRef Name=”AssignedTo”/><Value Type=”Integer”><UserID Type=”Integer”/></Value></Eq>
</Where>

After modification, including membership element:

<Where>
<Or>
<Membership Type=”CurrentUserGroups”><FieldRef Name=”AssignedTo” /></Membership>
<Eq><FieldRef Name=”AssignedTo”/><Value Type=”Integer”><UserID Type=”Integer”/></Value></Eq>
</Or>
</Where>

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s