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
  • @shashankb - Sorry but I'm very new to the task report and just wondering where I should be doing the null check. This task report was created by someone else with report filters. These filters are populated with task report data. I have attached a copy of the task report. I like the suggestion you had with the section stating that there are no active tasks but not sure where to put that in this report.

Reply
  • @shashankb - Sorry but I'm very new to the task report and just wondering where I should be doing the null check. This task report was created by someone else with report filters. These filters are populated with task report data. I have attached a copy of the task report. I like the suggestion you had with the section stating that there are no active tasks but not sure where to put that in this report.

Children
No Data