BPT process to assign to a set of group in users

Hi Team,

We are following BPT process in our application and we need inputs on how to work on the below process ,

1.Need to assign a human activity to a group

2.each group has multiple users.

3.If I select may be 2 groups it should  send mail to all users under those groups.

4. Also need to assign activity for those users .


Regards,

Sowndarya

mvp_badge
MVP
Solution

@Shahin Keshavari A Human Activity (HA) can be assigned to a group of users by:

  • selecting one or more roles for that HA (MVP João Heleno provides more details in this post)
  • using the ActivitySetGroup action from System module (see this post)

Hi Sowndarya,

A human activity cannot be assigned to a group. It can only be assigned to a user. You could howver extend your code to make it work. See attached picture.

Suppose you have a process, that automatically start upon creation of a Report record.

You could add the GroupId to the Report record (noted by 2.)

In an activity before your Human activity (noted by 1.), you could use logic to inform your users about the action they need to take. Bear in mind that you will need to find a way to filter these human activities based on the GroupId a user belongs to. For example, you could make your own list screen with all the reports, and filter this list based on the group of the user.

Hope this helps. Regards,

Shahin


process.PNG

mvp_badge
MVP
Solution

@Shahin Keshavari A Human Activity (HA) can be assigned to a group of users by:

  • selecting one or more roles for that HA (MVP João Heleno provides more details in this post)
  • using the ActivitySetGroup action from System module (see this post)

@Nordin Ahdi Thanks for that explanation, very clear indeed. I somehow remember from the exams that activities could not be assigned to groups for some reason.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.