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>
Discover more from QubitSage Chronicles
Subscribe to get the latest posts sent to your email.