task

Pending tasks for a case

Hi,

I'm trying to get via Bonita API, the list of Pending Tasks for an especific CaseId, and the user/s assigned for all of this tasks.

I can see these data at the Bonita Portal / BPM Cases / Pending tasks. If I select the task, i would like to take the "Assigned to" data.

Many thanks !!

Carlos Castillo.

Automatically set data to contract

I have a process which has a gateway, in one way I want to set data to a list property automatically (the data will always be the same).

For example, let's say I have a business object with an array of strings called "names", when I reach one specific task I want to automtically set names to something like ['George','Michael'] and then finish the task, the user does not even realize this task was completed.

How can I achieve this?

How to return to the previous task form UI button?

Hi,

I have the next flow, ( start -> human task 1 -> human task 2 -> end).

Is it possible to add a button on the form that returns to the previous task?

example:
action: (bonita bpm) send task
url: /bonita/previous-task

Thanks.

Rayo

I want to add custom Tasks and custom Events to the software

I am a student and it is my first project with Bonita, could you help me please !!cry_smile.png.

and the project is to add the notation elements of the BPMN extension uBPMN to the BPM Bonita (new custom Tasks and custom Events and a Smart Object ) ( in Bonita Version : 2021.1 ,Build id : 7.12.1.1)

I didn't know where to begin so i tried with (Build Bonita from sources ) is it the right way ?????

Get ActivityInstance from another task

Hi everyone.

I'm working in an email notification task.

I'm trying to know if a task is assigned to a user or not.

If the task is assigned to a user I need the email of this user to send the notification, or if the task is unassigned I'm sending the notification to all the possible users.

If I want to extract this information from another task, i found the method getHumanTaskInstance from the processAPI(), but I need the activityInstanceId from the other task to obtain the information.

How can I get the activityInstanceId from another task?

Service task failed after giving value to object list (nullPointerException) what can cause this error? (log in desc)

I have a problem with my process, to be honest it worked fine for months... So i think there is something else causing the the task to fail.

I have an object list business data, in the operation i set "takes value of", and create a list of these objects, at the end of the groovy script before i return the list, i write the size of the list in the log, and it is fine, other logings are done as well, it looks like everything is good. However after the size in the log this happens and my task fails:

usertask contract returns empty arrays

Hi.
I've called '/API/bpm/userTask//contract' and it returned :
{
"inputs": [],
"constraints": []
}
but the task has many input fields in the view.
why the response is like that and what does this api must return?

How to redirect to process first human task from application page?

Hi,

Another question, I have an application page and i also have data to edit, and i cant do that easily in the instantiation form. So i put the editing in the first human task, but this way the user cant get from application page to this task in one click. Is there a way to do this? One link/button click and redirect to first task in the process? (process with no instantiation form)

Cant update business data modells attribute in the process variables

Lets say i have a business data modell that has person and also puppy. Each object can exist independent from each other, however person have a puppy object, that can be null, it is not mandatory.

I have a process, and a business variable, the type is person. I give the person some data, and an existing puppy object. That means i will have a new line in the person table, and one existing line from the puppy object will be referenced to this line by persistenceId (if i understand this correctly).

Actor set but submit doesnt work, and in error log is: "task isnt assigned"

Hello,

I have a good question, that may have a simple solution, but i dont really get it.

Notifications