Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
a workflow has step: a,b,c & d;
at first, get workflowId by StartWorkflow() such as
...
_workflowId = await _host.StartWorkflow(_workflowName, data);
//_workflowId value is "03549b82-4cc7-43dd-b927-de2e1ae75711"
...
and the workflow keeps running , then using SuspendWorkflow() when it was doing step b.
in my opinion, .SuspendWorkflow() can suspend the running workflow.so the step c & d will be executed after ResumeWorkflow() down.
...
var res = _workflowHost.SuspendWorkflow(_workflowId).Result;
// res value is false
...
but the real operation is the workflow running all steps and SuspendWorkflow() return false always.
what`s wrong?
Beta Was this translation helpful? Give feedback.
All reactions