yawlfoundation / yawl

Yet Another Workflow Language
http://www.yawlfoundation.org
GNU Lesser General Public License v3.0
88 stars 35 forks source link

Data from completed multi-instance tasks does not persist across system restart #648

Open phtyson opened 5 months ago

phtyson commented 5 months ago

When the YAWL engine is restarted after completing some multi-instance tasks, the data from the early tasks is not preserved, and does not appear in the merged multi-instance data.

I tested the attached List_Builder.yawl specification with YAWL versions 4.2 through 4.5.1. I am using a postgres DB on one platform. I get the same results with a SQLServer DB.

To reproduce the issue:

  1. Load the List_Builder.yawl specification into YAWL. (This specification is based on the example in section 4.7.6 of the YAWL User Manual 4.2.)
  2. Launch a case from the specification.
  3. Add 2 or more books to the list in the Create List task.
  4. Start the Verify List task for each item on the list.
  5. Complete one Verify List workitem.
  6. Restart the YAWL engine.
  7. Complete the remaining Verify List workitems.
  8. View the list in the Complete List task. The items completed before the restart will not appear on the list. List_Builder.zip