#Human Task

Update Case and Activity after successful PUT state not changing


I am using rest API and I have a problem changing the state of case and activity. Also, I am in need of information or code snippet on how to claim the task on JavaScript.

I use Living Application example but not able to claim the Human task, Query Activity, and Case State after the update,

For now, I just can make the activity Completed, but when I try another state, the response gives 200 but state activity remains on executing. Please clear me what is the difference between this state executing and state that I want to assign.

Execute task in application without open portal


i'm new to bonita software and i'm trying to create my first application. I have created a workflow that basicly is a sequence of human task. I have created the home page of my application and i created a button the make the process start. Once th process start the portal opens and the task is available to the user. There is a way to execute the task without open the portal?

Is it possible to get task ID from API?


I created a dashboard page of an application.
I get a list of tasks based on the example :

../API/bpm/process?s=Modify Pending Vacation Request &p=0&c=1&o=version%20DESC&f=activationState=ENABLED

I would like to send the URL with taskId of each task.
for example,

On the page, is it possible to get taskId using persistenceId of each task?

Any help would be appreciated.
Thanks in advance.

Assign different tasks to different Authorities.

i am using Bonita Studio Community 7.8.3
now the challenge is i am trying to create a Process and assign different tasks to different approving authorities and i wouldnt be using the william.bates and the helen.kelly on the organisation as created inside the studio.

Assign user to Human task

Somehow I have been able to start the application and up to workflow level it runs fine and no problems. However I have another challenge, I am trying to assign a user to a Human task and it should be a user I have created to use in the BPM.

How can I assign a user and a passwword so that the user can login and view the task and approve or decline.

Image is as shown below.


How to Determine the Date when a task was assigned and when it was completed

I am trying to determine the dates when a task arrived to the group. When the task was assigned to a user and when the task was completed. This would help us in understanding how much time was the task lying open before someone worked on it.
I am using an Rest API to fetch that Data from the portal . /bonita/API/bpm/archivedHumanTask?p=0&c=100&f=caseId={{caseId}}&o=archivedDate%20ASC&o=displayName%20DESC

Here there are 3 seperate dates.
1) Assigned Date
2)Reached State Date
3) Archived Date

Update the field of bdm object while task remain to the current actor


I want to update one of the fields of my business object without submitting the task.
Actually, I want to add notes of my current task without submitting it.

Is there any method to do that, a POST call to call update query or something else.
I have read in the documentation that only SELECT queries are allowed.

Asad Shakeel

Assign parallel task to multiple groups and users


I have an interesting query: How can I have a human task be assigned and completed in a parallel way by a number of selected groups and/or users?

The idea is that the initiator would select a list of groups and specific users to assign a Human Task step to. Each group/user needs to be able to complete their copy of the task simultaneously to the others. The task should only be completed once everyone assigned has completed it.

Thanks in advance.