execute

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.

How to compose input object for "processAPI.executeUserTask" method

Hi to All,
I'm having difficulties in consuming method processAPI.executeUserTask(long userTaskInstanceId, Map<String,Serializable> inputs) via bonita java API.

I just can't format Serializable object/value for Map<String,Serializable> in a right way. I always get exception "cannot be assigned to COMPLEX type"

org.bonitasoft.engine.bpm.contract.ContractViolationException: USERNAME=walter.bates | Error while validating expected inputs: [[{attributeName: "aaaaaaaa", attributeValue: "bbbbbbbbb"}] cannot be assigned to COMPLEX type]

How to reexecute or bypass a gateway in error state ?

Hi,

All is in the question...

Thanks for any response.

Notifications