Skip to main content

I’m trying to navigate from a counter lobby element to the list of tasks. My navigation URL is:

page/OverviewPagesNavigate/OverviewTasksPage?$filter=(((Objstate eq IfsApp.OverviewPagesNavigateHandling.CcCaseTaskState'New' or Objstate eq IfsApp.OverviewPagesNavigateHandling.CcCaseTaskState'Open' or Objstate eq IfsApp.OverviewPagesNavigateHandling.CcCaseTaskState'Completed')) AND TaskOwner eq $OWNER$)

 

It works until I try to add a parameter for the “ AND TaskOwner eq $OWNER$)”. The parenthesis’ all line up and it looks right given the documenation, but when the link is clicked, it complains of a malformed URI. If you just close the dialog, the query appears in the advanced search box, and it works. But something just isn’t right there.

@dfsjmarchant Try using the below, I think OWNER is coming from the lobby element not a parameter of the lobby page, so it should be $$OWNER]

page/OverviewPagesNavigate/OverviewTasksPage?$filter=(((Objstate eq IfsApp.OverviewPagesNavigateHandling.CcCaseTaskState'New' or Objstate eq IfsApp.OverviewPagesNavigateHandling.CcCaseTaskState'Open' or Objstate eq IfsApp.OverviewPagesNavigateHandling.CcCaseTaskState'Completed')) AND TaskOwner eq $$OWNER])

Hope this helps !


Just to conclude, the solution to this problem was the case of the condition. It should be lower case “and” not “AND” also, the “OR” must be lower case too. 

Make sure you also remove the “=” sign, and replace with “eq”.

page/OverviewPagesNavigate/OverviewTasksPage?$filter=(((Objstate eq IfsApp.OverviewPagesNavigateHandling.CcCaseTaskState'New' or Objstate eq IfsApp.OverviewPagesNavigateHandling.CcCaseTaskState'Open' or Objstate eq IfsApp.OverviewPagesNavigateHandling.CcCaseTaskState'Completed')) and TaskOwner eq $OWNER$)

 

This then worked.


Reply