I'm trying to expose webform submission data to Rules.
I've got the hook_rules_data_info() all set, and i've got a basic implementation of RulesIdentifiableDataWrapper
What i'm trying to do now is limit the properties that are exposed to a particular webform.
What i'm finding is that I don't understand how assertions work, and I can't find any resources or documentation.
I've studied the code that does this for entities and fields, and I'm close but no cigar.
Specifically, I've implemented an assertion for my rules condition, but it only executes during rule verification - it doesn't execute when the actual rule is invoked. ie. It fires correctly on the rule configuration page, but not when the actual event is triggered.
Does anyone have a good resource or example that can give me some more info?
Comments
Comment #1
TR CreditAttribution: TR commentedleDataWrapper
What i'm trying to do now is limit the properties that are exposed to a particular webform.
What i'm finding is that I don't understand how assertions work, and I can't find any resources or documentation.
I've studied the code that does this for entities and fields, and I'm close but no cigar.