WF Parked and Posted
At at customer we have WF running for FI based on an Invoice ID. (barcode).
In the FI WF the user can approve the FI document and then post that document. When the FI document is approved NO FI posted flow is started.
The Fi posted flow will only start when the document is not approved.
Behind the WF we have a customer table that contains information about the barcode (key) and we have also a sort of status in that table.
At the beginning and end of each WF we set the status in that table. So at the beginning of the parked flow - Started in the table, at the end of the parked flow, closed and so on...
In some rare cases, whe a user post the document and it's not approved, the FI posted WF is started and set the Status to started BUT the WF of the parked flow is not finished and he overwrites started with closed...
Bases upon these statussen we have some reports running and in some cases it's not correct..
I have tried different changes in the WF so that the status of the posted flow, starts later when the parked flow is finished but this does not work...
Does anyone has an idea to have a sort of wait statement, that the posted flow can start, when the parked flow is finished?