Please Log in or Create an account to join the conversation.
krileon wrote: The onAfterUserUpdate is triggered anytime a user store is made; it doesn't matter where from. To act on profile update only you need to use onAfterUserProfileSaved, but you can't compare user value changes in that trigger. If you need to condition against a field value change then you'll need to have 2 auto actions acting on onAfterUserUpdate with your message auto action (just a Code action with Method set to "Message (Message Queue)") conditioning against the view using [get_view] Equal To saveuseredit.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
krileon wrote: If you only want this to apply to frontend profile edit save then take your existing auto action and add the following condition.
[get_view] Equal To saveuseredit
If you want the auto action to apply to every profile edit save then don't add the condition, but make a copy of your current auto action. Next in that copy change its type to Code and add the above condition to it. Now set Method to Message (Message Queue) under Action and for Code supply your message (e.g. You are granted access to the training program). This should cause the first auto action to happen on any profile update while the message one only applies to frontend profile edit save.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.