Loop on Task - how to provide the condition?


I just want to test to loop a task. But: it doesn't matter what I write into "loop while" the tasks does not loop. Even something like "1==1" is ignored. Can someone provide a example? I'm usind Bonita Community Studio 7.7

User initiator does not work well

I developed a process on bonita 7.5.4 comunity:
* on instantiaton form Iassigned it to an "actorSoporte" and a filter actor "STI",
* on Configure, I managed roles.
The problem is that the instantiaton form's task may be make by anyone, I need this task may be make only for role "STI"

How can I filter what autors do?

I already established an employee and a boss for to types of task, but when I run the pool every user can do any task, so I cannot get the action to evaluate vacations assigned just to the supervisor.

Please let me know where exactly can I do this and how should I do it... could anybody give me an example.

How See a list of tasks for cases of a process

hi, I need see a list of tasks for cases of a process from a page


Connector wont execute on REST call

Hello, i'm currently developing a C# client where I need to instance some process via REST API. I have no problem executing any task with contracts, but when any userTask has a connector (specifically a rest connector to another server of mine), this won't execute and its skipped while the task is completed sending me a success response (Code: 204). However, if I perform the tasks on the portal every connector works perfectly.
The method i'm expecting to execute both the task and connector is {API/bpm/userTask/:taskId/execution} sending the correspondent json with the contract.

Create a case on a specific task

Hi all,

I was using the REST API and done the create case examples using the information on this link:

Example 1 created the case.
Example 2 created the case with variables.

I then created a simple workflow with two tasks.
"Step 1" and "Step 2"

And thought that maybe there is a way to create a case starting on a specific task?
How's the syntax?

Thanks in advance,

How can i update a task priority via REST API

I use:


with the var v_selectedRowProyectoActivo.id i have the task id.

When i try to update the task priority from normal to highest i cant make it via API REST.
i send: {"priority": "highest"} to try to update the field.

I'm using bonita bpm 7.2.2

Thanks for the help.

How can I atribute visibility and invisibility to tasks.


I have a process started by admin, and he need to start multiple times
when comes to a user Lane, can be start by any user of the group, i need when a user DO the first task of his lane, the process case tasks related can be only viewed by him. and others cases tasks will set invisible to him, up until the case who he was doing finishes by admin.

Thanks before hand.

Peter Grant.

communicating between process

Thanks for reading and at least trying to help

I have some difficulties to work with two process.

The first has a task which 'lock' the process while 'things' are not done in the second.

The second do some validation things and then I try to :

  • update business data in the first process
  • end the 'waiting' task
  • make the first process continue to next task regarding the validation done by the second

I try to do this with Apiaccessor in a groovy script

Bonita says apiAccessor is undefined

In my diagram I have several connectors where I call apiAccessor, on personal tasks, but in one of them I get this error: