Hi,
Is there any way to get a list of the active tasks for a specific case in the bonita studio, through groovy?. I know there are api at the forms, but this form would not help me for what I need.
I’ve been searching among the groovy methods but I do not see any of what I need, I only see mostly to get user information.
From a Groovy Script expression, you can use the provided variable “apiAccessor” to access the Java APIs. The ProcessAPI is the one you should check as it is all about process instances/cases.
In case no dedicated method exists for you need, you can leverage the search feature as described here .
Bonitasoft empowers development teams with Bonita, the open-source and extensible platform to solve the most demanding process automation use cases. The Bonita platform accelerates delivery of complex applications with clear separation between capabilities for visual programming and for coding. Bonita integrates with existing solutions, orchestrates heterogeneous systems, and provides deep visibility into processes across the organization.