sartography / spiff-arena

SpiffWorkflow is a software development platform for building, running, and monitoring executable diagrams
https://www.spiffworkflow.org/
GNU Lesser General Public License v2.1
51 stars 36 forks source link

Event-Based Gateway: remains yellow even after the process instance reaches the end #1128

Open dinithihj opened 4 months ago

dinithihj commented 4 months ago

Sample model - https://dev.app.spiff.status.im/process-models/misc:qa:simple-event-based-gateway On this model

When the process starts and the Timer Intermediate Catch Event triggers, the next task becomes the manual task called "No Response." At this point, both the event-based gateway and the "No Response" manual task are highlighted in yellow. https://dev.app.spiff.status.im/i/5964

Image

After completing the "No Response" manual task, the process instance went to waiting status (which is expected to be as complete), and the event-based gateway was still highlighted in yellow. https://dev.app.spiff.status.im/i/5959

Image

essweine commented 2 weeks ago

In the library unit tests, the gateway definitely completes when one of the events is complete. So I guess the problem here is syncing the workflow state to the db.