Hi. I’m trying to assign a task to a user with jquery, but I have an error:
- 500 internal server error
- class java.lang.IllegalArgumentException
- Can’t parse JSon
my code is:
var datos = {assigned_id:2};
$.ajax({url:“/bonita/API/bpm/humanTask/”+task_id,
type: ‘put’,
data: datos,
success: function () {
//:v
}});
hope someone can help me.
Try with {“assigned_id”:“2”} ?
Thanks!, but, I tried and got the same error :c
It worked for me using a REST client with {“assigned_id”:“2”} =/
If I try with your json {assigned_id:2}, I get your error.
Can you check the value of your datos variable using Firebug or Chrome javascript debugger ?
doesn’t work, I have no idea what to do
can you give me some contact please, I really need help.
Can you share your process this way I can take a quick look at it?
Also if you can mention the version of Bonita you are using?
If you need urgent help you can get help from Bonitasoft consulting team: http://www.bonitasoft.com/how-we-do-it#how-we-do-it_consulting
Thanks