Open eemrdog opened 1 year ago
a quick fix would be to have a parameter (NUMBER_OF_GUARDIANS_IN_WORKFLOW) in the CLI that the end user can configure with the number of guardians that the target workflows has. Then the CLI will wait for that number of anwers before getting the final result. If one of the results fails then its considered a fail evaluation
Instead of specifying an exact number of SRGs in a workflow, can we increase the interval of querying the bizevent?
For example 15 seconds, if there is multiple success results, then wait for another 15 seconds. If the number of success results are greater than the previous iteration, continue until the number of success results remains same. In case of fail result, it will exit immediately. Do you think it makes sense?
"dta wf evaluate" as "dta srg evaluate" command would enable evaluating multiple SRGs in a single workflow. This will listen to a generated bizevent from the workflow.
Some possible cases: