Skip to content

Conversation

@kfrajtak
Copy link

@kfrajtak kfrajtak commented Jun 4, 2025

Input and correlation id is not propagated to child workflow from parent workflow. This PR fixes the ExecuteWorkflow activity to propagate the input and correlation id from parent workflow to child workflow.

If the ExecuteWorkflow activity exists to execute a child workflow, then it is reasonable to assume that the child workflow might be reused by other workflows as well and the input from parent workflows should be propagated to child workflows.

Correlation id is propagated for tracking purposes.

See this issue #6706.

The test is not pretty, it would be great to have guidelines on how to test things in Elsa. I tried to create test similar to other tests in Elsa.Workflows.IntegrationTests.Scenarios.RunAsynchronousActivityOutput namespace but it did not capture any text in activity execution records.


This change is Reviewable

@kfrajtak
Copy link
Author

kfrajtak commented Jun 4, 2025

@dotnet-policy-service agree

@sfmskywalker sfmskywalker force-pushed the main branch 2 times, most recently from 4e58970 to ae1bb77 Compare December 10, 2025 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant