in this example we would use the rule engine to check fields. We could also use the symfony expressions but thos are already built in the rule engine. The rule engine gives more flexibility as it will allow to make checks without failing.
Advance use case
We can use this in with the split operation to make different processes for different data; example:
!Reminder, any step after the split-base-on-subscription will get all the data both subscribed and unsubscribed in it's state before being transformed by the operations in the split!
At the moment it's possible to execute an operation on some data transiting in the chain.
For example, we read a CSV file containing customers, we wish to only process customers that has subscribed to the newsletter.
in this example we would use the rule engine to check fields. We could also use the symfony expressions but thos are already built in the rule engine. The rule engine gives more flexibility as it will allow to make checks without failing.
Advance use case
We can use this in with the split operation to make different processes for different data; example:
!Reminder, any step after the split-base-on-subscription will get all the data both subscribed and unsubscribed in it's state before being transformed by the operations in the split!