Replies: 8 comments
-
Hi Geo, Resuming a given workflow instance should just work. Obviously it doesn't in your case, so this looks like a bug. |
Beta Was this translation helpful? Give feedback.
-
Hi Sipke!!! :) would it be possible you take a look at the private repo I created last time? I promise, that I'll make this one more generic and maybe contribute it to the sample repository after I get it working. |
Beta Was this translation helpful? Give feedback.
-
I wanted to check out your test demo, but the invite link has expired. If you send me a new one I'll have a look! |
Beta Was this translation helpful? Give feedback.
-
Sent it again Sipke, |
Beta Was this translation helpful? Give feedback.
-
Got it! |
Beta Was this translation helpful? Give feedback.
-
Sipke, sorry for the delay here and thanks for the clarification before (it was one of those weeks). I'm definitely further away in that I'm able to resume and get no errors, however, I don't seem to be able to continue running from the Signaled activity. ResumeAsync calls for startActivityIds which is an IEnumerable of String, I've tried passing the id of the activity that was stopped, the Id of the next activity, the names and titles and I don't seem to be able to resume it. Is there any chance you could again shed some light into it for me? |
Beta Was this translation helpful? Give feedback.
-
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Beta Was this translation helpful? Give feedback.
-
@gtejeda My turn to offer my apology for responding this late. When resuming a blocked workflow instance, make sure to provide the following details:
The input payload can be constructed as follows: var input = new Variables();
input.SetVariable("Signal", "Name of your signal"); |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Greetings guys,
What's the recommended way to resume a workflow that is designed to be halted several times?
I have the following test workflow:

When starting the workflow it correctly runs the first 2 activities and halts.
When resuming the workflow I've tried two approaches without luck.
My preferred way would be ResumeAsync, since I get the new Instance presumably with it's new state.
await _invoker.ResumeAsync(request.WorkflowInstance, variables, startId);
Where startId = "First Stop" or "Message 3"
But I get an object not set to an instance of an object here
I can use TriggerAsync, but I always get the first 2 Messages as if starting the workflow from the beginning and I can't really figure out how I would trigger it so that they start from the "correct state".
Any help would be greatly appreciated.
Geo
Beta Was this translation helpful? Give feedback.
All reactions