Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DOC] Can't find "StartWorkflowRuntimeOptions" in the elsa-library, docs outdated? #88

Open
kimseb opened this issue Oct 28, 2024 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@kimseb
Copy link

kimseb commented Oct 28, 2024

Documentation Improvement Request

What:
I can't find the type StartWorkflowRuntimeOptions that is written in the docs code example... But I have found a class called StartWorkflowRuntimeParams in my library (Elsa.Workflows.Runtime.Parameters). It holds multiple properties, where one is Input. Is this the same class but with a new name? Should it work the same? I think the docs needs to be updated so end-users will not be confused.

It's a bit hard to tell what needs to be done...

Where:
In Core Concepts > Input and output > Invoking workflows (bottom of the page but seems to be all over the page?)

What I need:
I need instructions how to invoke a workflow from a separate class/method where I also can pass parameters to the workflow. Currently I am using a WorkflowRuntime instead of a WorkflowRunner because it would be easier.

Code:
workflowRuntime.StartWorkflowAsync("SomeWorkFlow", params) where params is StartWorkflowRuntimeParams and I set the Input property with dictionary data.

Extra info:
I don't know if I have done something wrong, if I am wrong I apologize.

@kimseb kimseb added the documentation Improvements or additions to documentation label Oct 28, 2024
@sfmskywalker sfmskywalker transferred this issue from elsa-workflows/elsa-core Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant