elsa-workflows / elsa-workflows/elsa-core

[ENH] Add support to initialize the workflow context programmatically

Open
#4,597 2 comments 1 reaction 1 assignee Claimed by @sfmskywalker View on GitHub
elsa 3 enhancement triaged
Dominant language
C#
Stars
7.9k
Forks
1.5k
Avg merge
15h 22m
Merged PRs (30d)
114

Description

In Elsa 2 we have the possibility to set a WorkflowContextId before dispatching a StartableWorkflow.

In Elsa 3 the workflows works as a module and we cant initialize the workflow context programmatically before we dispatch a workflow.

Example of use case:

I have a model Order (my custom context provider) that is the core of my workflow definition so my first activity start iterating all the products of this order to make things.

So it is very important to have the custom context available from the initial moment

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.