Skip to Content Skip to Menu

🏖 Summer has arrived! Start your summer right with our summer sale! Get 25% off professional and developer memberships with code SUMMER-2025!

Auto action on progress field completion completion not working

  • azjr
  • azjr
  • OFFLINE
  • Posts: 99
  • Thanks: 10
  • Karma: 2
9 years 2 months ago #281767 by azjr
Quick Update:
I've tested it by manually changing the value in db of the cb_control to 1 => all works fine.
So it looks to me that the issue is somewhere in the execution of the auto action - Logically, I would think that the formula (conditions) should work => it works when using it as conditional ... I've tried to debug it but I can't find where the logs should be gathered

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 49427
  • Thanks: 8463
  • Karma: 1465
9 years 2 months ago #281781 by krileon
Enable debug mode and maximum error reporting in Joomla global configuration. Once done edit your auto action and under parameters enable debugging. Next attempt to trigger the action and you should see output if it errored or failed. It will tell you exactly what values it's seeing when comparing the conditions.


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.

  • azjr
  • azjr
  • OFFLINE
  • Posts: 99
  • Thanks: 10
  • Karma: 2
9 years 2 months ago #281788 by azjr
OK - I did it: I don't see any query being executed that would be related to the autoaction -
is the type = field correct in this instance?
Logically, this action should be executed when user saves it's account and while all fields required in progress fields are completed (progress field = 100) - then the checkbox should be checked (value =1) => but nothing happens. is it possible that within autoactions the conditions is not being understood?
[ cb_progress_account] EQUAL TO 100 ?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 49427
  • Thanks: 8463
  • Karma: 1465
9 years 2 months ago - 9 years 2 months ago #281838 by krileon
You have a space between the first bracket and the c.

Invalid: [ cb_progress_account]
Valid: [cb_progress_account]

Your condition should be as follows.

[FIELD_NAME] Greater Than or Equal To 100

If for some reason the raw condition fails (it shouldn't) then you can use the below to cause an API call for the fields value.

[cb:userdata field="FIELD_NAME" /] Greater Than or Equal To 100


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: 9 years 2 months ago by krileon.
The following user(s) said Thank You: nant

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

Moderators: beatnantkrileon
Powered by Kunena Forum