07-02-2020 07:48 AM
Hi all,
I'm struggling to build a groupIds List from the groups names.
I'm trying to use a MultiInstance Sub-Process to Review/Approve a document. The user will choose in a form which groups should review the document, so if I understood correctly I need to create a List with the groupsIds selected (like ["25","35,"45",...] and input this list in the "Collection (Multi Instance)" field of the sub-process properties.
So, how can I get the GroupsId from the Groups names? Or is there any other approach? I'm trying to create this list in a Service Task using Groovy. Any help?
Explore our Alfresco products with the links below. Use labels to filter content by product module.