Hi,
I created Simple workflow with apps process Node that assign to
a process after i complete workflow, state in process node is always
RUNNING then workflow stops and does not go to next node
Workflow nodes are
Start => prepare => complete => Process node => Window
any suggestion to fix this issue ?
it is a known problem. I fixed it for our implementation but since we use a quite old ADempiere version here it's not in trunk yet. I will try to fix it during the bug day tomorrow.
A description of the problem can be found here:
https://sourceforge.net/tracker/?func=detail&aid=2008687&group_id=176962&atid=879332 <br>Main problem is that the process runs in the same transaction as the whole workflow and it is closing the transaction after the process node is finnished. Than the nodes after the process node are using the already closed transaction.
A solution for this problem is to add a method in MProcess (and in ProcessUtil) that runs the process without closing the given transaction. <br><br>
Regards, Karsten