Skip to Content Skip to Menu

Use Auto Actions to trigger new registrant notification in AcyMailing Enterprise

  • sclarke
  • sclarke
  • OFFLINE
  • Posts: 53
  • Thanks: 3
  • Karma: 0
6 years 11 months ago #299199 by sclarke
Hi Kyle,

We need a new CB registrant of a certain member type (i.e. apprentice) to receive a custom email that we have set up as an Acymailing Smart Newsletter [mailid=43]. They then have to do some things offline (e.g., get references) before their registration can be approved.

Unfortunately the relevant sections of Auto Actions documentation are still TBS so would appreciate your help defining conditions/action/output/parameters. Presumably the trigger is onAfterSaveUserRegistration.

Your guidance appreciated, as always.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48438
  • Thanks: 8275
  • Karma: 1443
6 years 11 months ago #299205 by krileon
The below should work. Most of the triggers are self explanatory. So for example if you need something after a user registers then onAfterUserRegistration is typically the trigger you'd use. You can also use onAfterSaveUserRegistration if you want to execute something at the absolute end of frontend registration. It's fired after user is saved, emails sent, etc.. are all done and is just before the registration complete message, but for most behavior that modifies the user onAfterUserRegistration is recommended.

Global
Triggers: onAfterUserRegistration
Type: AcyMailing
User: Automatic
Access: Everybody
Conditions
1: [FIELD_NAME] Is Equal To apprentice

As for what variables are available to a trigger you can find those in the below documentation.

www.joomlapolis.com/documentation/279-community-builder/tutorials/18358-using-cb-triggers


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: sclarke

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum