Skip to Content Skip to Menu

🕒 Save Time and Effort with CB Editor Assistant: Effortlessly create and refine content in Joomla 3, 4, & 5.
🎁 Limited Offer: Enjoy a 5-day FREE trial and save up to 30% afterward!

[SOLVED] Multiple autoactions for same event (trigger)

12 years 1 month ago - 12 years 1 month ago #216790 by fdisilvestro
Hello,

Is it possible to have two or more autoactions for a specific trigger?

This is my case:
I would like to execute two autoactions when a user updates his/her profile

Autoaction 1 - Query type, to update a field in a table
Autoaction 2 - Usergroup type, to assign a user group depending on an input field value.

I set OnAfterUserUpdate as the trigge for both autoactions. The issue I have is that only one of those autoactions gets executed, namely the Usergroup type.

If I unpublish the Usergroup type, then the other executes well, so it does not seem to be a problem with the autoaction itself.

Thanks
Last edit: 12 years 1 month ago by fdisilvestro. Reason: issue solved

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

12 years 1 month ago #216791 by fdisilvestro
Hi,

Reordering the autoactions solved the issue. Putting the Usergroups autoaction before the Query autoaction did it.

Regards,
Francisco
The following user(s) said Thank You: krileon

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

Moderators: beatnantkrileon
Powered by Kunena Forum