CMDBuild Forum

Filter Open Processes by User Group

Is there a way within CMDBuild, either within a custom view/filter or report, that displays all the open processes assigned to the logged in user's group? For example, user Joe who is a part of the Approvers group logs in and should be displayed with some type of list of all workflows/processes that are assigned to the Approvers group. 

 

Thanks for any help! 

Yes, this is possible.
If you create a filter on a class attribute, that is a reference on the User or Role system classes, also appears an additional value "Current user" (the logged in user) or "Current Role" (logged in group).
CMDBuild Team

Thank you for your response. So we have exposed the default Activity class to all users. However, the Activity class does not have an attribute for User/Role. Would the Activity class have to be modified within the database to include the reference for User/Role?

 

 

Previously Tecnoteca wrote:

Yes, this is possible.
If you create a filter on a class attribute, that is a reference on the User or Role system classes, also appears an additional value "Current user" (the logged in user) or "Current Role" (logged in group).
CMDBuild Team

 

When you configure a new workflow you can add all the attributes you need, even a “reference” type.
By default you can not create relationships with system classes, but this becomes possible by changing the metadata “Mode: sysread” in “Mode: read”.
In the CMDBuild Ready2Use database (https://sourceforge.net/projects/cmdbuild/files/2.4.3/)
you can find an example of a filter as you want in the Incident Management workflow.
CMDBuild Team