You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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