Skip to content

Set the custom value on the correct entity

This fixes a bug in the "Set Custom Field on any entity" action.

Before: You could choose a custom field that is not on the primary triggering entity. However, data would be written to the wrong record.

For example

  • Trigger: Soft Credit is Created
  • Action: "Set Custom Field on any entity", configured to set the value of a custom field on Contributions (a related entity)

When a ContributionSoft with ID 23 is created connected to a Contribution with id 9876, the rule action should modify Contribution 9876. But instead, it modifies Contribution 23.

After: The action writes to the proper record.

Merge request reports