Skip to main content
Search Again

We think these articles could help you:

    See More
    Nintex Knowledge Base

    My Workflow Tasks web part not returning expected results in multiple web applications configuration

    Status: Not Validated

    ISSUE
    When there are multiple web applications in a SharePoint farm, and the "My Workflow Tasks" web part is added to a site or site collection page and configured to retrieve assigned workflow tasks at the farm level, the result below might occur: 
    Only the workflow name is returned for workflows that are running on the other web applications. Other fields such as item, status, waiting since, approver and current action are left blank.
    ERROR CODE
    RESOLUTION
    Ensure the application pool accounts of each web application has access to the SharePoint content databases of the other web applications in the farm. 
    "AppPoolAcc1" of "WebApplication1" should be configured to have access to SharePoint content database of "WebApplication2" and vice versa. 

    Below PowerShell command can be used to grant access accordingly. 

    $webApp = Get-SPWebApplication <<webApplication2 URL>> 
    $webApp.GrantAccessToProcessIdentity("domain\username of WebApplication1 app pool account")
     
    ADDITIONAL INFORMATION
    RELATED LINKS