how to handle process report when there are no active processes

Hi,
We have a process report which is supposed to show us any open tasks for a process model. It works fine when there are tasks for that process model.

However, I noticed it shows the following error when there are no active processes.

Error Evaluating UI Expression
Expression evaluation error in rule 'rct_report_gaalltaskreport' at function 'toUniformstring' parameter 1 [line 16]: Invalid index: Cannot index property 'c15' of type Text into type List of Variant

What would be the best way to handle this so that users don't see the pink error message?

Thanks,
Gary

OriginalPostID-243721

  Discussion posts and replies are publicly visible

Parents
  • @garym As long as the process isn't archived, it stays in Appian and the task in the corresponding process appears in Report until you apply filters based on the Completed or Cancelled status of the process or on other reporting data. If this is the case, then yes, totalCount varies and will be equal to those many number of rows that you obtain from the Report post applying Report filters and queryProcessAnalytics filters.
Reply
  • @garym As long as the process isn't archived, it stays in Appian and the task in the corresponding process appears in Report until you apply filters based on the Completed or Cancelled status of the process or on other reporting data. If this is the case, then yes, totalCount varies and will be equal to those many number of rows that you obtain from the Report post applying Report filters and queryProcessAnalytics filters.
Children
No Data