How can I filter this report with user name?

I am using below recipe to create a SAIL report. How can I filter this report with user name? Please note that I have added a column "Assign To" in the portal report that display's tp!owner information. I was able to add the user picker to the below recipe, but I am unable to filter the grid based on user that is being selected by the user picker control object.

forum.appian.com/.../SAIL_Recipes.html
Thank you for your help in advance!

OriginalPostID-147970

OriginalPostID-147970

  Discussion posts and replies are publicly visible

Parents
  • I am able to bring the data to the grid, but my filter is not working. I am using a pickerFieldUsers field to filter the data. Below is my code:
    a!pickerFieldUsers(
    label: "Task Owner",
    labelPosition: "ABOVE",
    value: local!selectedUser,
    saveInto: {
    local!selectedUser
    },
    validations: {}
    ) ,

    a!queryProcessAnalytics(
    report:cons!TEST_TASK_REPORT,
    contextProcessModels: {cons!TEST_PROCESS_MODEL},
    query: a!query(
    pagingInfo: local!pagingInfo,
    logicalExpression: if(isnull(local!selectedUser),null,a!queryLogicalExpression(
                                            operator: "AND",
    filters: {
    a!queryFilter(field: "c9", operator: "=", value: local!selectedUser) })
    )
    )
              
Reply
  • I am able to bring the data to the grid, but my filter is not working. I am using a pickerFieldUsers field to filter the data. Below is my code:
    a!pickerFieldUsers(
    label: "Task Owner",
    labelPosition: "ABOVE",
    value: local!selectedUser,
    saveInto: {
    local!selectedUser
    },
    validations: {}
    ) ,

    a!queryProcessAnalytics(
    report:cons!TEST_TASK_REPORT,
    contextProcessModels: {cons!TEST_PROCESS_MODEL},
    query: a!query(
    pagingInfo: local!pagingInfo,
    logicalExpression: if(isnull(local!selectedUser),null,a!queryLogicalExpression(
                                            operator: "AND",
    filters: {
    a!queryFilter(field: "c9", operator: "=", value: local!selectedUser) })
    )
    )
              
Children
No Data