Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In conditions how can I specify that a rule is only for the "Hybrid Cars Importer" and not for all the importers I have running?
Comments
Comment #1
Jason Dean CreditAttribution: Jason Dean commentedSame question here. I've made a rule with event 'After importing feed' and this works great.
But I have multiple feed importers and I only want the rule to trigger for a specific importer. So I added a data comparison condition:
Parameter: Data to compare: [source:id], Data value: productions
Note that 'productions' is the machine name of the importer.
This fails to trigger the rule at all?
Thanks
Comment #2
derhasi CreditAttribution: derhasi commentedUnfortunately I wasn't aware of the entity property info definition, when writing the module. There's definitively some rework needed - but that damn lack of time ... . I try to have a look at it in the next sprint.
Comment #3
arkjoseph CreditAttribution: arkjoseph commentedThis would be a great feature to add. Thanks for looking into it.
-Joe
Comment #4
PatchRanger CreditAttribution: PatchRanger commentedFinally I got it working.
The problem was not in Feeds Rules module but in Feeds module itself.
See #1742740: Add magic method __isset() to FeedsConfigurable to use default entity wrapping and apply attached patch.
Marking as fixed, feel free to reopen if the problem persists even after patch applied.
Comment #5
arkjoseph CreditAttribution: arkjoseph commentedThanks! ill check it out!