Assign task to user

1
0
-1

How to assign task to user with customize button, when actors are mapped to roles.

In Bonita portal we have take option to assign task to logged in user.

like that is there any possibility to create take button in Bonita application page to assign task to logged in user.

1 answer

1
0
-1

Hi,

There is an API to update a Human task, and specify an assigned id:
https://documentation.bonitasoft.com/bonita/7.10/bpm-api#toc3

So the solution to create a "take button" from an UID page would be to create a button with a PUT action, and to send the required payload using the logged in user.

An alternative solution would be to use the assign before submit option in the submit buttons of your forms. I

f you check this option, then you won't have to perform take actions anymore, task will be assigned to the current logged in user just before to be submitted.

Regards,

Adrien

Comments

Submitted by prathyusha0525_... on Fri, 03/20/2020 - 13:20

hi adrien, I'll will check that option and thank you for answering.

Notifications