---
title: "Assign multiple groups as performer of activity using code in workflow"
author: "kyh8408"
date: "2012-02-03T17:02:39Z"
tags: []
categories: ["行业应用"]
slug: "assign-multiple-groups-as-performer-of-activity-using-code-in-workflow"
draft: false
lastmod: "2012-02-03T17:05:21Z"
id: 1392363
url: "https://kyh8408.iteye.com/blog/1392363"
---

I determine the groups dynamically  and I used a process variable  
with a repeating attribute to hold the multiple group names or user names and set the  
performer as

Some users from a group: $comm\_var.approvers\[ALL]$

The task is then assigned to multiple groups and  only one person from each group needs to work on the task .