[jboss-user] [jBPM] - How to Complete a WorkItem using REST API

analamala do-not-reply at jboss.com
Tue Oct 11 09:23:28 EDT 2011


analamala [http://community.jboss.org/people/analamala] created the discussion

"How to Complete a WorkItem using REST API"

To view the discussion, visit: http://community.jboss.org/message/631145#631145

--------------------------------------------------------------
Hi,
I am planning on extending the REST API to "complete" a work item asynchronously. For example, if I add this to "org.jboss.bpm.console.server.ProcessMgmtFacade" or some other (Task, Form, or something else) existing facade implementations, here are my questions.

1. What information do I need to pass as @FormParam or @PathParam, to be able to complete the work item. 
2. How do I use these parameters inside the method signature, to complete the work item.

There may be other approaches, but I found this option the easiest implement, if it can be done. Once I know what parameters are needed and they can be used to complete, I will incorporate this into my design such that the calling client (REST API client) is already aware of what to pass into the REST API call.

Your feedback will be invaluable.

Thank you.
-Ajay
--------------------------------------------------------------

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

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111011/d9917bda/attachment.html 


More information about the jboss-user mailing list