1
0
-1

Hi Guys,

Hope you can help.

I have a simple process, with an activity that is in a participant group.

I have 2 users, assigned to this participant group.

I have a simple form, mapped to this activity.

When both users in the(participant group), opens the same form on the activity, they are able to perform actions, like typing text in a textbox, or selecting a value on a dropdown.

My question is, how can I prevent the one user, from opening the form, when another user has the same form open, and working on it?

Is there a way of removing it from the inbox, when a user opens a form(activity), so that the other user cannot open the same activity?

Thanks in advance.

Kind Regards,

Ernest.

 

    CommentAdd your comment...

    2 answers

    1.  
      1
      0
      -1

      Hi, according to the JSON API there is a call to accept an assignment JSON API#web/json/workflow/assignment/accept/(*:activityId). I'm guessing there should be a corresponding method in the Java API too. But the note there states that it is deprecated, and you would also need to think about how to handle the case where the user does not complete the activity.

        CommentAdd your comment...
      1.  
        1
        0
        -1

        i don't think joget have this feature. you may need to do some scripting using beanshell permission to handle the checking?

          CommentAdd your comment...