Back with a new problem to solve. For my page I need to get the groups of the logged in user. I already know how to get the users for a group, but this time i need the opposite. Can i get the groups in designer with an API or an extension would be a better approach?
Actually a user is not directly within a group but is associated with a group and a role in this group, what is called in Bonita membership.
For a user with id 888, calling API/identity/membership?p=0&c=10&f=user_id%3d888&d=role_id&d=group_id will give you the information about all the user memberships. d= is used to get information about the role and the group and not only the unique id of the role and group.
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.