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

Jason Dean’s picture

Same 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

derhasi’s picture

Unfortunately 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.

arkjoseph’s picture

This would be a great feature to add. Thanks for looking into it.

-Joe

PatchRanger’s picture

Status: Active » Fixed

Finally 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.

arkjoseph’s picture

Thanks! ill check it out!

Status: Fixed » Closed (fixed)

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