Hello,
I am attempting to programmatically add an existing organizational group to a new user in Alfresco Process Services 1.9.
I see there is a REST endpoint for adding a capability group to a user but I have had no luck adding an organizational group to a user either at creation time or through the user update API.
How can I accomplish this goal?
Turns out this endpoint works for both organizational group and capability groups
POST api/enterprise/admin/groups/{groupId}/members/{userId}
Hello Ethan,
You can use Execution lisntner, Task listner, or Event Listner based on your requirment for this please refer the example. In this example when any task is bieng created a group will be involved for the created task.
activiti-examples/aps-task-watchlist-extension at master · cijujoseph/activiti-examples · GitHub
Hope this is helpfull.
Please setup the extention project for the above using
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.