1

I want to create a custom activity with actions (ie one that does something rather than just record information). The actions are API calls using data from the activity.

One option would be to create the custom activities (as managed entities), and use a post hook to implement the actions. Is that the preferred way or is there something better?

CiviRules is possible but is essentially the same using a post hook.

CiviCRM 4.7.x Drupal 7

  • Why not use CiviRules? – KarinG - Semper IT Jun 28 '16 at 15:41
  • Yes, CiviRules is possible although I'd need to write a custom action which is most of the work of an extension to do it directly. CiviRules is fine for some things but this question isn't about the merits of CiviRules; it is about how to implement a custom action in an extension. – Aidan Jun 30 '16 at 9:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.