Hi,
I suspect this can't be done, but thought I'd ask anyway, just to be sure.
I have a business object (Persons), and there are two queries (query1 and query2) to list its contents (they list different attributes). Which query to run is dependent on an attribute of the logged-in user.
What I'd like to do is have one menu option - Persons list - and when selected by a user, have Aware run the appropriate query (query1 or query2) based on the value of the attribute of the logged-in user. To do that, I suspect I'd need to run a process, but that doesn't allow me to run a query.
The workaround is to have two 'Persons list' menu options, and hide the one that isn't appropriate.
I was just wondering if there's a more elegant solution.
Thanks.