Adrien Gorrell [
https://community.jboss.org/people/lyth_o] created the discussion
"JBPM: process with two consecutive nodes, each with an ActionHandler / commit
transaction"
To view the discussion, visit:
https://community.jboss.org/message/766249#766249
--------------------------------------------------------------
Hello everyone,
I am quite new at JBPM since I have only been developing Action Handlers from an existing
structure for now. But I am facing a problem : in my process graph, I have two consecutive
nodes, each one has an Action Handler. Lets call (1) the first ActionHandler and (2) the
second one.
(1) updates L1 in database.
(1) adds a new line L2 in database.
-- in database, nothing happens
(1) leaveNode(true)
(2) begins
(2) sees L1 updated (which seems weird to me and may be a false observation)
(2) doesn't see L2.
(2) leaveNode(true)
(2) exits the execute() method
(1) exist the execute method
-- database changes
Any idea of why this happens? I would really like (2) to get the updated database
values... How should I do?
Lyth_o
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/766249#766249]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]