Using RunAsynchronously=true makes the IWorkflowRunner return immediately #6068
Unanswered
robverhoef-united
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I have a workflow with a custom Activity that does a FTP transfer of some files. This workflow take some time to finish depending on the size of the files. When using the await IWorkflowRunner.RunAsync this will await the workflow tobe finished before returning. For the transfers to run parallel i've set the RunAsynchronously property of my FTP activity to true. Than i get real parallel running transfers but the IWorkflowRunner will return immediately after the RunAsync call. The workflow itself seems to be running, but i do not have any control anymore.
Because i want to use a very basic Elsa install without the use of a database the use of IWorkflowRuntime is not possible.
So two questions:
Thanks Rob
Beta Was this translation helpful? Give feedback.
All reactions