Copying a rule to a new rule creates several *Broken Action* lines

Hi Guys,

I copied a rule I am working on and pasted the rule code into a new rule. But when the rule code was pasted in, several lines turned up as Broken Action.

The clip board looks fine:

When this clip board was imported it turned up as:


Any ideas why this happens?

Are those lines referring to local variables (as opposed to hub variables--most/all of the affected actions seem to involve variables of some kind)? I could see that happening if they don't exist in the "target" rule.

Ah, thanks @bertabcd1234 . Maybee if I define those first they will show up?

You would definitely need to define them in the new rule if they are local.

Thanks, yes, I see that. This was my first go at copying a rule in Rule machine 5.1 and I was expecting the clip board to be pasted as is with no validations.

If you want to copy all the lines to a new rule, you could also use the "Clone" option. That will copy the local variables as well.

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.