CiviRules integration: triggering rules when contacts advance a step?
Created by: ufundo
Hiya @artfulrobot,
I have had lots of success using the extension to simplify journeys previously built using lots and lots of civirules, which is great. We still have a few "conditional" paths though, where I would like to switch people onto different journey "segments" ─ implemented as different journeys in Chasse ─ using CiviRules.
I don't seem to be able to get a CiviRule to fire on the last step of a given Chasse journey though. Is this possible as it stands?
(I tried using "Custom Data on Contact Changed" triggers ─ but they don't seem to catch chasse's SQL update query?)
If not possible, could we:
-
use an API update call instead of the SQL update query in Chasse's updateStep ( https://github.com/artfulrobot/chasse/blob/23e11cfb0b3d7534a42ea4a4208b997ff40e0a69/CRM/Chasse/Processor.php#L309 ) ?
-
create a custom dedicated CiviRules trigger that is fired here?
1 seems straightforward, but possibly less performant? 2 might be classier, though I've no grasp on the CiviRules code and no idea how easy/hard it would be.
Thanks :)