Applying Mobile Rule to multiple Stage values

I am trying to add a mobile business rule that applies at various stages for an Opportunity. With the below code, the rule is only working on the Verified stage. I need it to work at 13 different stages so I was hoping to be able to add it all in one rule, but not sure if that is possible?

Terrasoft.sdk.Model.addBusinessRule("Opportunity", {

    ruleType: Terrasoft.RuleTypes.Visibility,

    events: [Terrasoft.BusinessRuleEvents.Load],

    conditionalColumns: [

                        {name: "Stage" , value: "e39b75ac-db07-4f37-a140-2f881a0a98e5"}, //Closed Won

                        {name: "Stage" , value: "423774cb-5ae6-df11-971b-001d60e938c6"} //Verified

                        

                        ],

    triggeredByColumns: ["Stage"] ,

    dependentColumnNames: ["UsrEstStartDate","UsrEstEndDate"]

    });

Like 0

Like

1 comments

Please check ids that are using in "conditionalColumns" array. It seems like the wrong id is used. The stage values are saved in the OpportunityStage table in the database.

Show all comments