Hello,

I have a case where I want to enable the user to assign the same task to multiple users so that each one of them will take an action on it, for example, a supervisor receives a request to maintain multiple PCs, then the supervisor wants technician A , B , C where those technicians belong to a group called "Technicians".. currently the supervisor is able to select a single user and complete the task, after that it will be assigned to that single user, I want him to select multiple users and then the task will be sent to each one of them to be closed.

Thanks

  • No labels

1 Comment

  1. Hello, I found a workaround to implement this but unfortunately it can be done for a limited number of participants, lets say n participants, what i did was:

    1 - created n workflow variables (user1, user2...usern),

    2 - enabled the user to select multiple users in the activity in which he will assign a task to multiple users.

    3 - added a beanshell plugin after this activity in which i set the value of each workflow variable with the ones the user selected .

    4- created a subflow with n participants and activities each one with a start and end node,

    5 - mapped each activity in the subflow to the workflow variable corresponding to a user.

    this way when the user selects multiple users to assign an activity to them, the subflow will assign activities to the selected users and will continue after all the users finish their activities.if some workflow variables are not set, they will be ignored..

    If anybody knows a better way to handle this case or to enhance it please inform me.