Replies: 2 comments
-
I downladed the source code and debug into it then found out that if fails to get the lock when it tries to suspend / resume, the lock seems to happen when step starts and release when step ends, still not get the idea how to make it really suspend |
Beta Was this translation helpful? Give feedback.
0 replies
-
I'm also having a problem with the glance, suspend the workflow is not effective |
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.
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