Auto Actions emails: [CONFIRM] and [DETAILS] field substitutions

5 months 1 week ago #302864 by sclarke
Trying to get [CONFIRM] and [DETAILS] field substitutions to work in Auto Actions emails but they don't fire. Do they need some special syntax to work in Auto Actions?

Trigger is "onAfterUserRegistration". We can't use the regular Registration Pending Email body because we need two pending emails with different conditions (member types).

Suggestions?

Thanks.
5 months 5 days ago #302901 by krileon
You can't use [confirm] or [details] with CB Auto Actions. They're specifically for the registration workflows emails. Registration workflows emails support IF substitutions so you should be able to do what you're wanting using those. Example as follows.

[cb:if cb_profiletype="professional"]This is an email body for Professional profile types.[/cb:if]
[cb:if cb_profiletype="developer"]This is an email body for Developer profile types.[/cb:if]

See our substitutions tutorial below for further substitution usage information. IF usage explained at bottom with examples.

www.joomlapolis.com/documentation/279-community-builder/tutorials/18353-using-substitutions-throughout-cb


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Templates - CBSubs - Hosting - Forge - Incubator - GroupJive
--
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 EST to 4:00 PM EST. 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
Moderators: beatnantkrileon
Time to create page: 0.372 seconds
Facebook Twitter Google LinkedIn