[sql] asdfdsfs
Viewer
*** This page was generated with the meta tag "noindex, nofollow". This happened because you selected this option before saving or the system detected it as spam. This means that this page will never get into the search engines and the search bot will not crawl it. There is nothing to worry about, you can still share it with anyone.
- {
- "WorkflowName": "Discount",
- "Rules": [
- {
- "RuleName": "GiveDiscount10",
- "SuccessEvent": "10",
- "ErrorMessage": "One or more adjust rules failed.",
- "ErrorType": "Error",
- "RuleExpressionType": "LambdaExpression",
- "Expression": "input1.country == \"india\" AND input1.loyalityFactor <= 2 AND input1.totalPurchasesToDate >= 5000 AND input2.totalOrders > 2 AND input3.noOfVisitsPerMonth > 2"
- },
- {
- "RuleName": "GiveDiscount20",
- "SuccessEvent": "20",
- "ErrorMessage": "One or more adjust rules failed.",
- "ErrorType": "Error",
- "RuleExpressionType": "LambdaExpression",
- "Expression": "input1.country == \"india\" AND input1.loyalityFactor == 3 AND input1.totalPurchasesToDate >= 10000 AND input2.totalOrders > 2 AND input3.noOfVisitsPerMonth > 2"
- },
- {
- "RuleName": "GiveDiscount25",
- "SuccessEvent": "25",
- "ErrorMessage": "One or more adjust rules failed.",
- "ErrorType": "Error",
- "RuleExpressionType": "LambdaExpression",
- "Expression": "input1.country != \"india\" AND input1.loyalityFactor >= 2 AND input1.totalPurchasesToDate >= 10000 AND input2.totalOrders > 2 AND input3.noOfVisitsPerMonth > 5"
- },
- {
- "RuleName": "GiveDiscount30",
- "SuccessEvent": "30",
- "ErrorMessage": "One or more adjust rules failed.",
- "ErrorType": "Error",
- "RuleExpressionType": "LambdaExpression",
- "Expression": "input1.loyalityFactor > 3 AND input1.totalPurchasesToDate >= 50000 AND input1.totalPurchasesToDate <= 100000 AND input2.totalOrders > 5 AND input3.noOfVisitsPerMonth > 15"
- },
- {
- "RuleName": "GiveDiscount35",
- "SuccessEvent": "35",
- "ErrorMessage": "One or more adjust rules failed.",
- "ErrorType": "Error",
- "RuleExpressionType": "LambdaExpression",
- "Expression": "input1.loyalityFactor > 3 AND input1.totalPurchasesToDate >= 100000 AND input2.totalOrders > 15 AND input3.noOfVisitsPerMonth > 25"
- }
- ]
- }
Editor
You can edit this paste and save as new: