Hello!
I am trying to query data from a Process report, but I am facing an issue. I can show correctly the data on the process reports, but when I am using at the expression a!queryProcessAnalytics the date is null. Where might be the problem? Is the type of the process report?
Discussion posts and replies are publicly visible
Check the error message in the output. Last line.
You were right. that error indicate that I should add "contextProcessModels" field inside the a!queryProcessAnalytics. Than you!
a!queryProcessAnalytics(report:cons!REPORT_ALL_TASKS,contextUsers:{"user-1","user-2"},query:***).data
how can we pass the list of users in the COntectUser fiels to validate the active task(from the cons!REPORT_ALL_TASKS -report type) is assigned to one of the Listed users in that COntextUser
iniatialy with one user i can process and get the output but how to compare with list of users in COntextUser??? and i have to pass as an expression(which will get the list of users for the contextUser) instead of a constant value for the contextUsers input
I assume that your expression create a list of users. Then just call it instead of your static list.
contextUsers: rule!YOUR_EXPRESSION(someInput),