Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I've been working on figuring out why the user relationship rules are posting to my activity_log stream without first expecting approval. I even tried dynamically checking for valid not null value within $relationship->approval within the message template but that just made it disappear.
Its likely that I simply need help getting a crash course on the rules API, but from reviewing it on and off throughout today, it has a learning curve on top of understanding how it relates to this module.
Anyways, I would greatly appreciate anyone's help on this.
Comments
Comment #1
rayvan CreditAttribution: rayvan commentedSo it took me a lot of digging, but it looks like under the "Rule settings" collapsed toolbar for the activity "Editing rule Log activity when a user creates a relationship" allows you to explicitly say only on approve this event should be recorded.
Hope this helps someone else a lot of time.