For the OrderStatus variable, there is simple logic to check if the ordered quantity is less than 100. Add the rule to the rule Editor as shown below and then press enter.
对于OrderStatus变量,可以通过一种简单的逻辑来检查所订购的数量是否小于100。
In this scenario, when an order is received, if the quantity requested is 100 or higher, OrderStatus is set to Unavailable, and if it is below 100, OrderStatus is set to available.
在该场景中,当接收到订单时,如果所请求的数量大于或等于100,则OrderStatus将被设置为不可用,而如果数量小于100,则OrderStatus将被设置为可用。
应用推荐