Repository navigation
Replies: 3 comments
|
I don't know the "official" way but, we use IBookmarkQueue but i can imaging that this doesn't work in the case you don't have a server process running (which processes the queue). I think you have more luck with the following snippet (which uses the IWorkflowClient): |
0 replies
|
Ok - I've no idea if this is considered correct but it compiles, works and doesn't have any warnings on deprecation or obsolete methods: |
0 replies
|
Closing as resolved: the follow-up includes a working standalone |
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.
I'm really struggling with the simple task of resuming a bookmark in a simple standlone console app.
Every bit of documentation and other reference material is out of date as everything is marks as "obsolete" or "deprecated".
I'm running a simple console application that loads a JSON workflow. Is this scenario no longer supported?
The reason I ask is that all the methods now are pointing towards an undocumented IWorkflowClient class that doesn't appear to support loading a workflow from a JSON definition.
If I try to use the old WorkflowRunner then a majority of methods are flagged as deprecated (many specifically referencing the magic workflowruntime.cerateClientAsync as the new preferred option. But this seems exclusively geared towards a full elsa server (which is not currently part of my use case).
Is this scenario supported?
I would paste code but I'm essentially just using the https://docs.elsaworkflows.io/getting-started/hello-world console application with the activity creating a bookmark.
All reactions