Skip to content

Fix preData custom field collection on CiviCRM 5.67+

JonGold requested to merge JonGold/civirules:predata-fix-567 into master

This is an update to !222 (merged) - this function has moved in Civi 5.67.

Ideally we wouldn't be calling a function that isn't exposed to begin with - and perhaps we should have copied that function into CiviRules. The longer-term solution is to use APIv4 here. This function moved because APIv4 now has pseudo-entities for "Individual", "Organization", and "Household" - if we used APIv4 here we could take advantage of that. However, that would likely require switching to APIv4 across most or all of CiviRules.

Merge request reports