Hi Community,
In mobile application Conditional columns is not working in rule type requirement. Below is my code.
Terrasoft.sdk.Model.addBusinessRule("Case", {
ruleType: Terrasoft.RuleTypes.Requirement,
requireType : Terrasoft.RequirementTypes.Simple,
events: [Terrasoft.BusinessRuleEvents.Save],
triggeredByColumns: ["UsrIsClosed"],
conditionalColumns: [
{name: "UsrIsClosed", value: true}
],
dependentColumnNames: ["UsrComments"]
});
I want column UsrComments to be required if column UsrIsClosed is true. The code above is not working, please suggest