•Add Conditions with Rule Node
The Rule node is used to determine which node will be executed next, based on a given condition.
- Drag & Drop Rule node to the canvas and connect it to the CalculateAvalability node
- Double click on the node to open the configuration settings
- Change the default name, e.g.
CheckQuantity
- Select Add rule button
- From the dropdown menu find and select
result
field(CalculateAvalability node). If you want to check what are the available options you could select Current State tab. - Select
>=
sign (i.e greater or equal) - When you move your cursor over a row, you should be able to see tree vertical dots appear. Click on these dots and then choose Field as the value source.
- From the dropdown choose
quantity
field(start node) - Select Apply
•Next Steps
See how to place order if quantity condition is satisfied and use Setter node to return result.