--
You received this message because you are subscribed to the Google Groups "jBPM Usage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jbpm-usage+...@googlegroups.com.
To post to this group, send email to jbpm-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jbpm-usage/b4ad1330-d24a-4ce4-9db8-516073ea58dd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On 12 Sep 2018, at 08:22, Musk <yadavi...@gmail.com> wrote:Thanks Maciej,I have two doubts.1. How to perform human task in a business process using rest api? Human task need some variables too.
2. How to get all the data objects using rest api? I know how to do it in Business rule engine. I don't know how to get when using data objects along with business process.
Would you please provide the solution for these.
On Monday, September 10, 2018 at 4:16:57 PM UTC+5:30, Musk wrote:Hi,I am new to jbpm. I have created one business process consisting of some human tasks and business rule tasks with few guided rules and data objects. I have deployed it on the execution server.Now I want to start process instance using rest api. would anyone please tell me what will be the url. what headers will I have to set. and what is the format of body?I want everything(create process instance, complete human task) to be done using rest api. is it possible?Thanks
--
You received this message because you are subscribed to the Google Groups "jBPM Usage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jbpm-usage+...@googlegroups.com.
To post to this group, send email to jbpm-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jbpm-usage/157d8790-7e54-4c75-95a9-92f2a684c963%40googlegroups.com.
On 12 Sep 2018, at 14:58, Musk <yadavi...@gmail.com> wrote:Thanks once again,One more doubt please.I am sending put request to /server/containers/{id}/tasks/{tInstanceId}/states/completed to perform a human task.Now task is assigned to group "HR".I am getting following error"User '[UserImpl:'krisv']' was unable to execute operation 'Complete' on task id 2 due to a no 'current status' match"
I have tried with user name mary, which has roles HR.
So would you please tell me what am I doing wrong?
--
You received this message because you are subscribed to the Google Groups "jBPM Usage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jbpm-usage+...@googlegroups.com.
To post to this group, send email to jbpm-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jbpm-usage/3c7770de-bd13-4d69-aac0-88f2ee336e64%40googlegroups.com.
"User '[UserImpl:'krisv']' was unable to execute operation 'Complete' on task id 2 due to a no 'current status' match"
I have tried with user name mary, which has roles HR.
So would you please tell me what am I doing wrong?"User '[UserImpl:'krisv']' was unable to execute operation 'Complete' on task id 2 due to a no 'current status' match"
I have attached both diagram and log screen shots.
"User '[UserImpl:'krisv']' was unable to execute operation 'Claim' on task id 2 due to a no 'current status' match"
I used following
curl -X PUT "http://localhost:8080/kie-server/services/rest/server/containers/evaluation_1.0.0-SNAPSHOT/tasks/2/states/claimed" -H "accept: application/xml"