Skip to Content Skip to Menu

Multiple Auto Actions in Sequence

  • krileon
  • krileon
  • ONLINE
  • Posts: 48444
  • Thanks: 8279
  • Karma: 1443
6 years 10 months ago - 6 years 10 months ago #300334 by krileon
Replied by krileon on topic Multiple Auto Actions in Sequence
Ok, I think I see the issue then. The email, field value change, and redirect should only happen if the field was checked. That should be doable by simply turning off reload user in your redirect action and also check if the field is checked instead of not checked. So the below should work fine.

Action 1
Global
Triggers: onAfterUserProfileSaved
Type: Redirect
User: Automatic
Access: Everybody
Conditions
1: [var2] Equal To 1
2: [cb_finalagreement] Equal To 1
Action
URL: URL_HERE

Action 2
Global
Triggers: onAfterUserProfileSaved
Type: Redirect
User: Automatic
Access: Everybody
Conditions
1: [var2] Equal To 1
Action
URL: URL_HERE

Note do not enable Reload User in either of the above since we want the old user object with the checkbox still checked. I've configured this for you. Please let me know if it's now working as you're wanting it to.


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.
Last edit: 6 years 10 months ago by krileon.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48444
  • Thanks: 8279
  • Karma: 1443
6 years 10 months ago #300335 by krileon
Replied by krileon on topic Multiple Auto Actions in Sequence
If that still doesn't work how you're wanting the only other thing I can think of is use the auto action trigger to chain them as follows.

Action 1
Global
Triggers: onAfterUserProfileSaved
Type: Email
User: Automatic
Access: Everybody
Conditions
1: [cb_finalagreement] Equal To 1
Action
CONFIGURE_EMAIL_AS_NEEDED

Action 2
Global
Triggers: autoactions_onAction
Type: Field
User: Automatic
Access: Everybody
Conditions
1: [var2_id] Equal To AUTO_ACTION_ID_OF_ACTION_1_HERE
Action
Field: cb_finalagreement
Operator: Set
Value: 0

Action 3
Global
Triggers: autoactions_onAction
Type: Redirect
User: Automatic
Access: Everybody
Conditions
1: [var2_id] Equal To AUTO_ACTION_ID_OF_ACTION_2_HERE
Action
CONFIGURE_REDIRECT_AS_NEEDED

So the above should trigger and send the email if the field is checked. The second action sees that the first action was executed and thus unchecks the field. The third action sees the second was executed and thus redirects. That's basically how you chain auto actions and appears to be more like what you were trying to accomplish. I apologize for the confusion as I misunderstood what you were wanting to do.


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.

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

  • Spiralmind
  • Spiralmind
  • OFFLINE
  • Posts: 259
  • Thanks: 16
  • Karma: 0
6 years 10 months ago #300336 by Spiralmind
Replied by Spiralmind on topic Multiple Auto Actions in Sequence
Yes, this looks perfect.

I just realized the action that unchecks the box needs to uncheck all in that tab to hide the required checkbox. I think i can figure that out.

I will try this and let you know. I'm really sorry for being so bad at this type of thing. I certainly appreciate all your time and help on this.
The following user(s) said Thank You: krileon

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

  • Spiralmind
  • Spiralmind
  • OFFLINE
  • Posts: 259
  • Thanks: 16
  • Karma: 0
6 years 10 months ago #300337 by Spiralmind
Replied by Spiralmind on topic Multiple Auto Actions in Sequence

1: [var2_id] Equal To AUTO_ACTION_ID_OF_ACTION_1_HERE



Not sure what the last part of this is? Do I put this exactly? I doubt it.

Attachments:

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

  • Spiralmind
  • Spiralmind
  • OFFLINE
  • Posts: 259
  • Thanks: 16
  • Karma: 0
6 years 10 months ago #300338 by Spiralmind
Replied by Spiralmind on topic Multiple Auto Actions in Sequence
I entered in the ID from the action in both and now it is working. Whoa, how cool is that!

Thank you for helping me with this!
The following user(s) said Thank You: nant, krileon

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

Moderators: beatnantkrileon
Powered by Kunena Forum