Discussion:
[jboss-user] [jBPM] - jBPM 5.4 Rest API
Ricardo Cruz
2013-08-02 08:39:38 UTC
Permalink
Ricardo Cruz [https://community.jboss.org/people/ricardojvcruz] created the discussion

"jBPM 5.4 Rest API"

To view the discussion, visit: https://community.jboss.org/message/831113#831113

--------------------------------------------------------------
Hello,
i'm trying to execute a process instance search in Rest API but i need to filter by some process variables.

Is it possible or do I need to code my custom Webservice using jBPM Java API ?

Thanks
Ricky
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/831113#831113]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Thomas Setiabudi
2013-08-13 04:44:58 UTC
Permalink
Thomas Setiabudi [https://community.jboss.org/people/thomas.setiabudi] created the discussion

"Re: jBPM 5.4 Rest API"

To view the discussion, visit: https://community.jboss.org/message/832420#832420

--------------------------------------------------------------
Hi,

As far as I know you have to do your custom WebService for that..
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/832420#832420]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Hector Mendoza
2013-08-23 14:31:52 UTC
Permalink
Hector Mendoza [https://community.jboss.org/people/roar109] created the discussion

"Re: jBPM 5.4 Rest API"

To view the discussion, visit: https://community.jboss.org/message/833697#833697

--------------------------------------------------------------
Hi,

What do you recommend? try to use the java api for what we want to do, or use sql o hql query against db structure?. I need to do something similar to what Ricardo want's.


Any thoughts?
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/833697#833697]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Demian Calcaprina
2013-08-23 14:59:52 UTC
Permalink
Demian Calcaprina [https://community.jboss.org/people/calca] created the discussion

"Re: jBPM 5.4 Rest API"

To view the discussion, visit: https://community.jboss.org/message/833705#833705

--------------------------------------------------------------
I think you have to options.
- Get all the processes and filter it by your side.
- Query jbpm audit tables. You can check this class which does it:
https://github.com/droolsjbpm/jbpm/blob/5.4.x/jbpm-bam/src/main/java/org/jbpm/process/audit/JPAProcessInstanceDbLog.java https://github.com/droolsjbpm/jbpm/blob/5.4.x/jbpm-bam/src/main/java/org/jbpm/process/audit/JPAProcessInstanceDbLog.java

HTH,

Demian
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/833705#833705]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Hector Mendoza
2013-08-23 21:41:36 UTC
Permalink
Hector Mendoza [https://community.jboss.org/people/roar109] created the discussion

"Re: jBPM 5.4 Rest API"

To view the discussion, visit: https://community.jboss.org/message/833760#833760

--------------------------------------------------------------
Thanks Demian,

I'll check fo that example to make my own REST service and get that info. You know if exist any database scheme or descripcion of each field? I don't see a logical use for some of them.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/833760#833760]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Loading...