Replies: 1 comment 1 reply
-
|
Hi @hpposch , You could use the higher-level For example, if you have a suspended workflow with correlation ID |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all!
I am currently working with custom activities, and i wrote myself a blocking activity.
Everything works as expectet.
I have created a controller which dispatches all workflows after it get's triggered.
Now i was wondering if it is possible to trigger a certain workflow. For example via the correlationId.
In my example i have 3 workflows in state 'Suspended'
When i now call for example https://localhost:5001/files all workflows would be executed, because inside my controller there is the following code:
[HttpPost] public async Task<IActionResult> Handle() { var collectedWorkflows = await _invoker.DispatchWorkflowsAsync(); return Ok(collectedWorkflows.ToList()); }So what can i do to trigger only one workflow that is in state 'Suspended'.
All other workflows should be untouched.
Thanks in advance for your help!
Heinz Peter
Beta Was this translation helpful? Give feedback.
All reactions