[jboss-user] [jBPM] - Re: How to signal process from external system?
Maciej Swiderski
do-not-reply at jboss.com
Wed Nov 30 13:59:14 EST 2011
Maciej Swiderski [http://community.jboss.org/people/swiderski.maciej] created the discussion
"Re: How to signal process from external system?"
To view the discussion, visit: http://community.jboss.org/message/639184#639184
--------------------------------------------------------------
Michal, if you consider to use jBPM console (or its server part) you can give it a try with REST interface. Once deployed you can use following URL to display all available resources of the REST interface:
http://localhost:8080/gwt-console-server/rs/server/resources http://localhost:8080/gwt-console-server/rs/server/resources
If I recall correctly you should use /gwt-console-server/rs/process/tokens/{id}/transition to signal you process instance where id is the process instance id and use 'signal' query parameter to provide event data to the signal method. When using this approach it will use 'signal' as event type.
So I would try following url to signal:
http://localhost:8080/gwt-console-server/rs/process/tokens/ http://localhost:8080/gwt-console-server/rs/process/tokens/{id}/transition?signal=data
HTH
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/639184#639184]
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/20111130/5ff2a318/attachment.html
More information about the jboss-user
mailing list