What is the alternate to IWorkflowInvoker? IBuildsandStartWorkflow is throwing exception with DI #958
Unanswered
SachinMehndiratta
asked this question in
Q&A
Replies: 1 comment 6 replies
-
Hard to say without seeing the full project (e.g. I don't see where you are setting up your DI nor do I see from where you are invoking Perhaps the following quick start might help: https://elsa-workflows.github.io/elsa-core/docs/next/quickstarts/quickstarts-console-hello-world. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Not sure about building and running the workflows in web app, tried with IBuildsandStartWorkflow via IServiceProvider and encountered the error of disposed object.
Seems like context is disposed when saving in peristence layer and hence the error. Context must be handled via DI only.
Any guidelines or clue here?
Beta Was this translation helpful? Give feedback.
All reactions