Assign task when il click on button in application
You can checkout the "redirect next task widget" custom widget that actually include the logic to assign a task to current user. It should be not to difficult to extract only the useful part to create a widget to assign a task before redirecting to the form.
Comments
j'ai ma liste de tache et chaque fois que je choisi une tache un bouton apparait.
Quand le current user clique sur le bouton la tache lui automatiquement assigner avant de le rediriger vers le formulaire qui lui permet d'executer la tache. j'ai constaté qu'en live application si le current user accede au formulaire de validation d'une demande sans que cette dernière ne lui soit assigné, il ne pourra pas le traiter.
En faisant reference a cette notification sur le site de bonita :
Important: A task is not automatically assigned to the user who accesses the task form. If a user is using Bonita BPM Portal, the assignment is automatic. However, if a user is accessing a form directly from an application, there must first be a REST API call to assign the task to the user. Otherwise, the user will not be able to execute the task.
Merci bien pour les échanges. Avec le redirect next task j'ai pu réaliser ce que je voulais
j'ai ma liste de tache et chaque fois que je choisi une tache un bouton apparait.
Quand le current user clique sur le bouton la tache lui automatiquement assigner avant de le rediriger vers le formulaire qui lui permet d'executer la tache. j'ai constaté qu'en live application si le current user accede au formulaire de validation d'une demande sans que cette dernière ne lui soit assigné, il ne pourra pas le traiter.
En faisant reference a cette notification sur le site de bonita :
Important: A task is not automatically assigned to the user who accesses the task form. If a user is using Bonita BPM Portal, the assignment is automatic. However, if a user is accessing a form directly from an application, there must first be a REST API call to assign the task to the user. Otherwise, the user will not be able to execute the task.
Comments
Important: A task is not automatically assigned to the user who accesses the task form. If a user is using Bonita BPM Portal, the assignment is automatic. However, if a user is accessing a form directly from an application, there must first be a REST API call to assign the task to the user. Otherwise, the user will not be able to execute the task.