[JBoss jBPM] - process-end behavior
by greenHand
I am wondering event type process-end does. I have two nodes (A and B) forked from a parent node and joined back to a subsequent node.
Node A has an action to send email notification. A is not JBPM email node. It just sends through a regular smtp service.
Node B has an action to execute some program.
Since the fork process does not have a specific order of which node to runs first, in case node A runs first and node B fails, I need to hold back sending email from node A. I thought using an event type "process-end" on node A's email action would do the trick, so when node B's action failed, the JBPM transaction is rolled back at node B, the process will not end.
It seems the email notification is still sent, even I have "process-end" in place. What is the expected behavior of event type "process-end"?
Thanks a lot!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175095#4175095
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175095
17 years, 7 months
[JBoss jBPM] - WS-Addressing to mantain the state of jBPM, used to describe
by cdc08x
Hi all, and sorry for the LONG title of my post.
But I hoped to be the most precise I could.
I suppose that jBPM is the best framework to describe a process behaviour and link it to Java components. A WebService can be a process itself, and have its own states, internal transitions, and so on. So, I'd like to describe a WebService through jBPM.
WebMethods can't mantain a conversation, while it's necessary in order to understand the user identity, what he did before, which state he's referring to...
Of course, passing the whole process context into an explicit added method parameter is definitely NOT anything I can show in my university :D
As described http://jbws.dyndns.org/mediawiki/index.php?title=Native_WS-Addressing_Tut...
JBossWS supports WS-Addressing: eureka, it suits perfectly!
So, please, may you help me somehow and tell me what can I do to make WS-Addressing and jBPM work together, providing me a code example (would be great!), an idea, a framework, (best of all) a link about this collaboration?
For instance, let's say that you have to invoke
@WebMethod List<Disk> search(SearchParameter search)
before you can invoke
@WebMethod Boolean buy(Disk disk)
what would you suggest me to make it possible through jBPM and WebServices?
Thanks very very much, in advance, even for having read this all! :D
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4174848#4174848
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4174848
17 years, 7 months
[JBoss jBPM] - error at bpel hello world deployment
by abdoly
im trying to deploy bpel hello world example.
i run the ant task using ant deploy.process, here is the result
Buildfile: build.xml
package.process:
[mkdir] Created dir: C:\jbpm-bpel-1.1.1\examples\hello\target
[zip] Building zip: C:\jbpm-bpel-1.1.1\examples\hello\target\hello.zip
deploy.process:
[deployprocess] deploying process: hello.zip
[deployprocess] operation failed: Internal Server Error
BUILD SUCCESSFUL
Total time: 1 second
-the resulting hello.zip file contains 3 files (hello.wsdl,hello.bpelex,hello.bpel).
- i tried to deploy the resulting process archive(hello.zip) through jbpm-bpel web console, the following exception
org.jbpm.bpel.BpelException: could not build web module for: BpelProcessDefinition(HelloWorld)
org.jbpm.bpel.web.DeploymentServlet.deployWebModule(DeploymentServlet.java:223)
org.jbpm.bpel.web.DeploymentServlet.deployProcessDefinition(DeploymentServlet.java:199)
org.jbpm.bpel.web.DeploymentServlet.doPost(DeploymentServlet.java:111)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
any one could help ?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4174830#4174830
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4174830
17 years, 7 months