Hi,I came across the configuration admin_js.admin.badges.trigger_type.user_change
in Discourse and I’m not sure what it refers to. Could someone explain its exact meaning and how it works in the context of badge triggers?
In fact,I’ve created the following SQL badge query:
SELECT user_id, current_timestamp AS granted_at
FROM gamification_scores
WHERE (:backfill OR user_id IN (:user_ids))
GROUP BY 1
HAVING SUM(score) > 1
I want this badge to trigger in real time, meaning it should be awarded immediately when the conditions are met.
Any help or suggestions would be greatly appreciated!Thanks in advance!