Suppose we have a Workflow with two rules but we want to make sure that rules in this workflow doesn't violate each other. Does it need an extra feature to validate all rules in one workflow against this requirement?
sample based on demo :
[
{
"WorkflowName": "LoyaltyFactorInIndia",
"Rules": [
{
"RuleName": "LoayaltyFactorIs2",
"SuccessEvent": "10",
"ErrorMessage": "One or more adjust rules failed.",
"ErrorType": "Error",
"RuleExpressionType": "LambdaExpression",
"Expression": "input1.country == \"india\" AND input1.loyaltyFactor = 2 "
},
{
"RuleName": "LoayaltyFactorIs3",
"SuccessEvent": "20",
"ErrorMessage": "One or more adjust rules failed.",
"ErrorType": "Error",
"RuleExpressionType": "LambdaExpression",
"Expression": "input1.country == \"india\" AND input1.loyaltyFactor = 3 "
}
]
}
]
Thank you in advance
Suppose we have a Workflow with two rules but we want to make sure that rules in this workflow doesn't violate each other. Does it need an extra feature to validate all rules in one workflow against this requirement?
sample based on demo :
[ { "WorkflowName": "LoyaltyFactorInIndia", "Rules": [ { "RuleName": "LoayaltyFactorIs2", "SuccessEvent": "10", "ErrorMessage": "One or more adjust rules failed.", "ErrorType": "Error", "RuleExpressionType": "LambdaExpression", "Expression": "input1.country == \"india\" AND input1.loyaltyFactor = 2 " }, { "RuleName": "LoayaltyFactorIs3", "SuccessEvent": "20", "ErrorMessage": "One or more adjust rules failed.", "ErrorType": "Error", "RuleExpressionType": "LambdaExpression", "Expression": "input1.country == \"india\" AND input1.loyaltyFactor = 3 " } ] } ]Thank you in advance