datasharingframework / dsf

A distributed process engine based on the BPMN 2.0 and FHIR R4 standards
https://dsf.dev
Apache License 2.0
13 stars 7 forks source link

BPE Misses Task and QuestionnaireResponse Resources if Network Disconnects #233

Closed hhund closed 1 month ago

hhund commented 1 month ago

Description

If the network connection between the DSF BPE and DSF FHIR servers accidentally disconnects, the BPE will ignore Task and QuestionnaireResponse resources received by the DSF FHIR server during the outage until restarted. Resources received after the connection is reestablished are handled normally.

Effected DSF Version

To Reproduce

  1. Disconnect the network connection between the DSF BPE and DSF FHIR servers.
  2. Create Task resource with status requested.
  3. Reestablish network connection between the DSF BPE and DSF FHIR servers.

Expected Behavior

After the connection between the DSF BPE and DSF FHIR servers is reestablished, the DSF BPE should download all missed Task and QuestionnaireResponse resources from the DSF FHIR server.