26105 - no subject - Hi Everyone,\n\nWe recently upgrade to 6

Hi Everyone,

We recently upgrade to 6.6.1 and for some reason the function "num_running_processes()" is not available for reporting nor does it work in the current report that was working in the previous version. Anyone have an idea or workaround?...

OriginalPostID-26105

  Discussion posts and replies are publicly visible

Parents
  • Right, the Process Model Functions are for dashboards only. The first link provides an example of how to refactor a report to get what you want, but i'll try here. I'm guessing your report used to be Process Model context, and you have a column called # Running Processes. What you want to do instead is, make a report of process instances, Group By pm!id or pm!name, and then make your column definition =if(process_status()=0,1,0) and use Sum as the aggregation method. That will give you the total active instances of each different Model. (You could also filter your report by Status=Active, and just make the column aggregation a sum.)
Reply
  • Right, the Process Model Functions are for dashboards only. The first link provides an example of how to refactor a report to get what you want, but i'll try here. I'm guessing your report used to be Process Model context, and you have a column called # Running Processes. What you want to do instead is, make a report of process instances, Group By pm!id or pm!name, and then make your column definition =if(process_status()=0,1,0) and use Sum as the aggregation method. That will give you the total active instances of each different Model. (You could also filter your report by Status=Active, and just make the column aggregation a sum.)
Children
No Data