4 Replies Latest reply on Oct 23, 2012 9:01 PM by thomas.setiabudi

    How to Automatically assign a Group Task to User if there is only 1 User in the specified Group?

    thomas.setiabudi

      Hi,

       

      In a Human Task Node, I specified only the GroupID attribute value.  So whenever the process come into this task node, it will become the group task for users with Role specified in the GroupID.

       

      The requirement is, if there is only 1 user belongs to that Group, the task should be automatically assigned to that user.  Is there any way to do this?

       

      Any Help is Appreciated.

       

       

      Regards,

      Thomas Setiabudi

       

      Note:

      1. We use JBPM5.3 Full Installer

      2. In my environment, we use JBPM as service (we call the REST APIs provided by Jbpm-console)