Hi Team,
I am using activiti in my spring web application. I would like to know, Is it possible to run the process with custom user and group tables?
Thanks
Please refer to the following links.
i am using activiti 5.x and checked given link. but i didn't understand. please help me out.
How do you use Activiti? Embeded engine, Rest, spring-boot?
It is easy to answer if you tell it.
spring boot
Vamsi Krishna
I made the example project for your case.
Does it make sense?
Hi,
Thank you for your support. Given code very helpful to me.
Please clarify my doubts i mentioned in below.
1. Where we created users and role groups in given project?
2. Please check below questions.
@Override
public List<Group> findGroupsByUser(String userId) {
Map<String, String> groupMapping = new HashMap<String, String>();
groupMapping.put("vamsi", "admin");
groupMapping.put("gonzo", "dev");
groupMapping.put("fozzie", "user");
Group group = new GroupEntity();
group.setId(groupMapping.get(userId));
group.setName(groupMapping.get(userId));
group.setType(groupMapping.get(userId));
return Arrays.asList(group);
}
I think in above code we maintain user id and group data by using groupMapping variable. Here i think, will maintain my app users and group data in groupMapping varaible. right?
Thanks
how can i manage if single user has multiple groups?
My sample only shows how to plug in its own implementation into Activiti 's Identity Management.
The implementation itself, please do as you like to suit your requirements.
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.