Skip to main content

Hello, Guys!

I would like to create a formula to count tasks, gateways in BPMN 2.0 notation. How could I solve this?

Thanks.

 

Hi Estras,


For BPMN Tasks simply use:

{{=COUNTIF(descendants(PAGE), x => shapetype(x) = 'BPMNActivity')}}

For BPMN Gateways:

{{=COUNTIF(descendants(PAGE), x => shapetype(x) = 'BPMNGateway')}}

 

In the future, what I find helpful is to select the shape you’re wondering about and in the Contextual Panel, select Data, add a Property and type: =SHAPETYPE and its shapetype is displayed for you.

 

 

Enjoy!

Cameron


Reply