PlanQK / workflow-modeler

Modeler for quantum workflows
Apache License 2.0
3 stars 4 forks source link

Extend replacement for PlanQK Service Tasks #65

Closed wederbn closed 6 months ago

wederbn commented 1 year ago

Problem Statement:

When replacing a PlanQK Service Task, the following subprocess is inserted:

image

To ease the understanding of the subprocess, the sequence flow shouldn´t be merged at the Timer Event. Instead, it should be merged using a separate XOR gateway before the event.

Furthermore, the PlanQK Service Task should be configurable with a maximum number of iterations (also enabling unlimited iterations) for the polling. This should be reflected by the loop, leading to an Error End Event in case the maximum number of iterations is met before the service returns a result.

Finally, the Error End Event on the right should be connected to the last Service Task using a Boundary Event instead of regular sequence flow.

Tasks: