Add `state` to onActivate and onDeactivate sideeffects in Promotion
Opened this issue · 0 comments
mschipperheyn commented
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