Make sure entityID and contactID is always set when a rule is executed
Compare changes
+ 4
− 0
@@ -25,6 +25,10 @@ class CRM_Civirules_Engine {
This makes sure that entityID and contactID are always set for a rule no matter how it is executed:
For example I found that "Add Tag" action did not work when a delay was added because entityID was not set when processing as a delayed action. Before this patch entityID and contactID are sometimes set, sometimes not set - it depends on the combination of triggers/conditions/actions in use because some will set them.