A rule in a rule set should be able to make use of the provided variables of a previous rule. This reduces the amount of nested components that are complex to maintain. Patch attached.

CommentFileSizeAuthor
rule-set-variable-providing.patch613 bytesklausi

Comments

fago’s picture

Component: Rules Core » Rules Engine
Status: Needs review » Fixed

yep, since we have improved NULL variable handling now, this should be fine. Also as it's now shown in the UI people might even grasp it - in contrast to Rules 1.x.. ;)

thanks, committed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

firfin’s picture

Title: Varaible sharing in rule sets » Variable sharing in rule sets

couldn't easily find this post. So fixed typo in title.

Great feature by the way! This fixes a lot of the nastiness of tokens and data-selector not being available in conditions and actions. For me at least.