elsa-workflows / elsa-workflows/elsa-core

The Call ambiguous and matches multiple workflow

Open
#6,949 5 comments 0 reactions 0 assignees View on GitHub
triaged
Dominant language
C#
Stars
7.9k
Forks
1.5k
Avg merge
15h 22m
Merged PRs (30d)
114

Description

I have a workflow triggered by an HttpEndpoint that sets a variable and correlation ID using the RequestId from the POST JSON data.
Subsequently, a switch flow determines the path. Under certain conditions, a non-starting HttpEndpoint suspends the workflow, awaiting an "Approve" or "Reject" command posted to the endpoint using the RequestId (CorrelationID).
This simulates a Bookmarked Activity.
The issue is that when two workflows are suspended, the error "The Call ambiguous and matches multiple workflow" occurs. How can I handle multiple suspended workflow instances for a single HttpEndpoint to avoid this error? The error message includes workflowinstanceids like "h5df57f255ddf" and "g5gh57484556".

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.