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

Add state to onActivate and onDeactivate sideeffects in Promotion #3254

Open
mschipperheyn opened this issue Dec 3, 2024 · 0 comments
Open

Comments

@mschipperheyn
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
state is used in dependencies between promotion conditions and actions. It is not available to process side effects
In my case, I use the condition to identify interesting orderLines and process them in PromotionItemAction

Describe the solution you'd like
state should be supplied to side effects

Describe alternatives you've considered
re-running condition logic to identify the orderLines I'm interested in

Additional context

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

No branches or pull requests

1 participant