Local variable question

I have two rules, call them primary and secondary. The secondary rule does a bunch of stuff but has no triggers - it can only be called from another rule, in this case the primary.I have local variables in the primary rule. When I call the secondary rule are those local variables defined in the primary rule visible to the secondary rule?

No. That's what global variables are for. Local are local to the rule they are defined in.

1 Like

Yeah that's how I assumed it would work. Just was seeing some odd results and wondered if that was the cause. Will look further.

1 Like