[jboss-user] [jBPM] - Re: External form rendering & accessing variables
Maciej Swiderski
do-not-reply at jboss.com
Tue Aug 9 15:22:34 EDT 2011
Maciej Swiderski [http://community.jboss.org/people/swiderski.maciej] created the discussion
"Re: External form rendering & accessing variables"
To view the discussion, visit: http://community.jboss.org/message/620195#620195
--------------------------------------------------------------
In general, I would say yes, it is possible. But it all depends on what you would like to use as viewer. By default jBPM uses console and I think there is an eclipse test client for human tasks as well.
So if you would like to have it integrated with console you should write plugin (if I recall properly implementation of FormDispatcherPlugin), something similar to the jbpm-gwt-form.
But if you like to have it stand alone you would need to leverage both REST interface and Task Service client to connect to task service to operate on tasks. By default jBPM console is responsible for retrieving task forms, but if you like to use JSF for that, you won't need that any more.
> michael gantenbein wrote:
>
> How can I get and set variables in my process programmatically?
To remotely access variables you could use REST interface, there is a process management facade that lets you, among other functions, set/get variables for particular process instance. For access it directly you should get variable scope from process instance and next add/retrieve variables out of it.
HTH
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/620195#620195]
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/20110809/d7248872/attachment.html
More information about the jboss-user
mailing list