I am trying to set up what I think are some simple CB Auto Actions (Field type), but they aren't working. I would appreciate any help or suggestions.
I want the CB Auto Action to set a value ("1" or "2") for a CB custom field, depending on the value that the user chooses in another CB Profile field ("Pioneer" or "Partner"). This CB Auto Action should be triggered when a new user registers, or when an existing user edits their profile.
I created 3 CB Auto Actions to trigger when the value of the Profile field is either NULL, Pioneer, or Partner. But after a new user registers or an existing user changes the existing profile field, the target db field is always blank (not NULL).
One setting I might have incorrect is for access. Currently all of the Auto Actions are set for "Everyone" under Custom ACL. Could that be part of the problem? If so, what should that be set to?
I'm attaching screenshots of the settings for my 3 Auto Actions. Thanks in advance for any help you can provide!
Your conditional is not valid, it's always failing at your conditional. You can find this out easier when enabling debugging at the bottom of your conditional as it'll var_dump where it fails. You need to use valid substitutions so "cb_usertype" should be "[cb_usertype]". Please see the below tutorial for further substitution usage information.
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.
Thanks Kyle, your feedback solved my problem, and my Field type Auto Actions are working now!
Now I'm moving on to my next step for this project, which is creating some Query type Auto Actions that will add/update fields from CB profile into db table for another extension.