Just create four different containers each with conditional visibility based on the user role. Then in each of the containers you could create the appropiate references etc. Do note that you might run into trouble if user roles are stacked like the manager of the financial department that could have both roles.
Other sollution would be to have a microflow open different pages depending on the user roles of the current user. This way you can already determine if user roles are stacked and then model out with page to open.
Regards,
Ronald
I have created the different visibility according to the conditions applied.But I am not able to get the data in my database having association value of attribute. department and cost center
department -> CeerUser_Department/Department/DepartmentName
cost center -> CeerUser_CostCenter/CostCenter/SubDepartments
these values when i checked are not getting saved in the database.Could you please guide me on this what could be the possible reason for this issue.