SAP Knowledge Base Article - Public

3160940 - Using a group / role for automatic employee supervisor look-up in workflows


I was reading your blog post 
Now I am trying to set the supervisor, but I would like to set to a Role / Group instead of to a specific user, is there a way to do this currently? I have tried but you only allow searching for user ids via email, I could not find any group object I can use. Is there a way to use the group of the supervisor returned? 


Unfortunately, there is currently no way to interact with organisation groups in a Workflow Accelerator JavaScript action. This means that you cannot programmatically search for groups, or assign a task’s candidates to a group.

There’s no obvious workaround. In practice, this means that it’s probably necessary to look up some kind of category name in the CSV, and then use an exclusive gateway to select a user task based on that category. The model is a gateway followed by one user task per organisation group, with each duplicate task assigned a different group.

Perhaps it’s useful to collect a list of users from the CSV, create a multi-user task for each user in the list, and set the multi-user task’s Reminders / Automatic close to effectively make the created tasks optional for their assignes.


KBA , BPI-SIG-CA-AWF , Approval Workflow for SAP Signavio , How To


SAP Signavio Process Manager all versions ; Signavio Process Manager all versions