Difference between revisions of "NF8.2 Suspend workflow until commit"
From iDempiere en
| Line 12: | Line 12: | ||
This feature allows to suspend a workflow upto the actual transaction is committed. It does not initiate a commit itself. Effectively it works like the normal wait with a time greater than 0 where the workflow processor restarts the workflow later, but here the workflow is restarted immediately after commit. | This feature allows to suspend a workflow upto the actual transaction is committed. It does not initiate a commit itself. Effectively it works like the normal wait with a time greater than 0 where the workflow processor restarts the workflow later, but here the workflow is restarted immediately after commit. | ||
| + | |||
| + | This is especially useful before a jasperreport is to be started by a workflow to ensure it sees all changes done. Or if you want to send an e-mail you'll probably make sure the e-mail doesn't tell anything which may be rolled back due to later errors. | ||
[[image:WorkflowWaitCommit.png]] | [[image:WorkflowWaitCommit.png]] | ||
Revision as of 15:08, 24 November 2020
Feature: Suspend workflow until commit
Goal: Functional
Developer: Martin Schönbeck
Feature Ticket: IDEMPIERE-4186
Sponsor : Martin Schönbeck Beratungen GmbH
Description:
This feature allows to suspend a workflow upto the actual transaction is committed. It does not initiate a commit itself. Effectively it works like the normal wait with a time greater than 0 where the workflow processor restarts the workflow later, but here the workflow is restarted immediately after commit.
This is especially useful before a jasperreport is to be started by a workflow to ensure it sees all changes done. Or if you want to send an e-mail you'll probably make sure the e-mail doesn't tell anything which may be rolled back due to later errors.

