Question about Rules with RedHen

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
edward.peters's picture

I hope I am right to post a request for advice in this group? (I am new to Drupal groups, so rap my knuckes if I am out of order!)

In the RedHen system I have created, I want to make it easy for a member admin to renew the membership of someone. Using a flag which triggers a rule, I can update the expire date of the membership using some php. But is there a better way of doing this, some code which calls the right function to do the update and (importantly) to add the new activity message?

Any advice would be appreciated.