task

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:
http://documentation.bonitasoft.com/6.x-7.2/bpm-api-1#task

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,
Diana

How can i update a task priority via REST API

I use:

../API/bpm/activity/{{v_selectedRowProyectoActivo.id}}

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.

Hi.

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:

How to get the current task of a case from another process

Hi,

I'm trying to get information about the current task case from another process because I got to make possible modify some local variables from a "monitor" process. I can't find nothing in the ProcessAPI like "getCurrentActivity" or "getCurrentTask".

Thanks in advance,

David.

Rest API unassign task

Hello,

In Rest API, How do I unassign a task to a user?

Thanks in advance Manolo

Problem with submit button accesin to bonita forms by url

Hi,

I have a problem submitting the forms accesing it by url. I am using bonita bundle v6.2.2 and, when I start a new instance of the process all goes ok, but when I try to submit a task, bonita tells me:

The information has been submitted. A task is now available /- link to the next task -/

but the link to the next task is exactly the same task I have submitted.

Notifications