02-01-2018 02:09 AM
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
02-01-2018 02:18 AM
Please refer to the following links.
02-01-2018 05:24 AM
i am using activiti 5.x and checked given link. but i didn't understand. please help me out.
02-01-2018 06:19 AM
How do you use Activiti? Embeded engine, Rest, spring-boot?
It is easy to answer if you tell it.
02-01-2018 06:24 AM
spring boot
02-02-2018 08:30 AM
Vamsi Krishna
I made the example project for your case.
Does it make sense?
02-05-2018 01:26 AM
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
02-05-2018 02:50 AM
how can i manage if single user has multiple groups?
02-05-2018 03:02 AM
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.
02-05-2018 03:52 AM
K. above project scenario is custom groups, right?
Explore our Alfresco products with the links below. Use labels to filter content by product module.