Skip to content

Conversation

@fjtirado
Copy link
Collaborator

Fix #1018

WorkflowContext(WorkflowDefinition definition, WorkflowMutableInstance instance) {
this.definition = definition;
this.instance = instance;
this.context = definition.application().modelFactory().fromNull();
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the actual fix (pretty straightforward)
The rest of the PR is adding unit test for context, both for yaml, which was already working without this fix and for Fluent, which was failing without the fix

@ricardozanini ricardozanini merged commit 5e40aef into serverlessworkflow:main Nov 27, 2025
3 checks passed
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.

Experimental: null pointer exception when using exportAs

2 participants