This content has been marked as final.
Show 5 replies
-
1. Re: JPDL: Multiple actions on transition or page?
pmuir Aug 23, 2007 6:24 PM (in response to patrickr)This appears to be allowed by JBPM
http://docs.jboss.com/jbpm/v3/userguide/jpdl.html#transition.element
N.B. Pageflows are just a special kind of JBPM process. -
2. Re: JPDL: Multiple actions on transition or page?
patrickr Aug 23, 2007 6:48 PM (in response to patrickr)So, should I add a feature request / bug issue?
To clarify my motivation behind this, please refer to the following code:<transition name="next" to="End"> <action expression="#{database.persist(order)}" /> <action expression="#{mailer.sendConfirmation(order, user)}" /> </transition>
Consider the mailer service might have been added to the project at a later time. I can plug this component in without writing or compiling code. It is loosly coupled and is not transparent like aop approaches (which is what I want, because it's not a cross cutting concern and developer can see / debug this component easily...) - not cool? ;-)
Regards
Patrick -
3. Re: JPDL: Multiple actions on transition or page?
pmuir Aug 28, 2007 10:00 AM (in response to patrickr)Yes, add a JIRA issue.
-
4. Re: JPDL: Multiple actions on transition or page?
jpviragine Aug 29, 2007 8:44 AM (in response to patrickr)Hi,
I?ve this situation in page (not start-page) and works fine.
Regards
Joao Paulo -
5. Re: JPDL: Multiple actions on transition or page?
patrickr Sep 23, 2007 9:27 AM (in response to patrickr)"jpviragine" wrote:
I?ve this situation in page (not start-page) and works fine.
Yep, only start-page is affected. http://jira.jboss.org/jira/browse/JBSEAM-1951.