User task not getting assigned to anyone


#1

I’m creating the demo Vacation request app following the documentation.

For a user task Provide vacation information as shown below :

Even after setting the assignment to Assigned to process initiator as shown below :

I am not getting the claim button and also the task is not assigned to anyone as shown below :

Any help is appreciated.

Thanks.


#2

Assign tasks to people

Responsibility for a task is defined by setting its assignment. You can do this by selecting a User Task and clicking its Assignments property. A dialog pops up that allows you to choose whether the assignee should be a single person (it can be a named user, or simply the person that started the process); a list of candidate users; or, one or more candidate groups. If a task is assigned to a list of candidates or groups, then someone from the list or group has to claim the task to work on it – it then becomes directly assigned to them for that specific task in that specific instance of the process.

Ref:


#3

I exactly did the same but still no claim button is coming. Kindly refer the above screenshots of the same.


#4

Have you:

  • created a group
  • created a user
  • added the user to the group
  • assigned the group to the User task

Signed into the Flowable Task App as the user you created?

You are signed in as the “Test Administrator”.


#5

I created the workflow signed in as admin user and then in the Task app started the process logged in as the same admin user.
The admin user is by default present and I have not assigned it to any group


#6

Have you tried:

  • creating a group
  • creating a user
  • adding the user to the group
  • assigning the group to the User task

Signed into the Flowable Task App as the user you created?

… If a task is assigned to a list of candidates or groups, then someone from the list or group has to claim the task to work on it.


#7

Got the issue. There was nothing wrong is the user assignment but the issue was that I was not deploying the app after doing changes in the workflow. After deploying the app now the assignment works just fine.
I guess the app needs to be deployed(publish) every time any change is done so then only the same will be reflected in the task app.

@Robinyo - Thanks for helping. :slight_smile:


#8

If you create a new version of a business process then you also need to publish the updated app definition.

So are you ‘getting’ the claim button now?


#9

Actually, I am not sure what defines a new version but what I experienced is that after doing any change you need to publish the app to see the changes reflected in the Task App.

As the task is assigned to one person only so no claim button is needed. Instead, the save and complete button are working as expected.


#10

I guess I was confused by your question as it referred to the claim button:


#11

Actually that demo I completed. I was working on another demo which is a little below that: vacation request app which does not have any user group so no claim button will be present but just the complete button as the task is assigned to the initiator itself.