Développer ma barre des réalisations de la Communauté.

Join us on September 25th for a must-attend webinar featuring Adobe Experience Maker winner Anish Raul. Discover how leading enterprises are adopting AI into their workflows securely, responsibly, and at scale.

Mark Solution

Cette conversation a été verrouillée en raison de son inactivité. Veuillez créer une nouvelle publication.

RÉSOLU

Is there a callback for rules not meeting conditions?

Avatar

Level 2

Hello all!

 

I have a specific rule in my implementation with a "max frequency" type of condition (once per session). It works well, but I need to do some custom code in case the conditions are not met (event triggered but not fired because of this condition). I've thought about doing a "counter rule" (that means with the reversed condition - always fire except for the first time in session), but I  was wondering if there was another way to do it, a more practical way if I need to do this in other rules as well (without having to duplicate them all), like a callback (something in the sorts of s.registerPostTrackCallback like _satellite.ruleConditionNotMetCallback) or a fallback (if(condition) => actions, else => fallback)

 

Any solutions, suggestions, ideas?

1 solution acceptée

Avatar

Réponse correcte par
Community Advisor

As far as I know, Launch doesn't have any "callback" functionality anywhere. I think most of us use "counter rules", as you've called them.

Voir la solution dans l'envoi d'origine

1 Reply

Avatar

Réponse correcte par
Community Advisor

As far as I know, Launch doesn't have any "callback" functionality anywhere. I think most of us use "counter rules", as you've called them.