Reevaluation Changes for core Launch Rules Engine#797
Merged
sagar-sharma-adobe merged 28 commits intostagingfrom Feb 12, 2026
Merged
Reevaluation Changes for core Launch Rules Engine#797sagar-sharma-adobe merged 28 commits intostagingfrom
sagar-sharma-adobe merged 28 commits intostagingfrom
Conversation
…ility of LaunchRule object creation
Updating Core version to 3.5.1
Updating Core version to 3.6.0
Contributor
Author
|
/rerun |
code/core/src/main/java/com/adobe/marketing/mobile/launch/rulesengine/json/JSONMeta.kt
Show resolved
Hide resolved
code/core/src/main/java/com/adobe/marketing/mobile/launch/rulesengine/LaunchRule.kt
Show resolved
Hide resolved
code/core/src/main/java/com/adobe/marketing/mobile/launch/rulesengine/LaunchRulesConsequence.kt
Show resolved
Hide resolved
code/core/src/main/java/com/adobe/marketing/mobile/launch/rulesengine/LaunchRulesEngine.java
Outdated
Show resolved
Hide resolved
code/core/src/main/java/com/adobe/marketing/mobile/launch/rulesengine/LaunchRulesEngine.java
Show resolved
Hide resolved
Updating Core version to 3.5.1
navratan-soni
approved these changes
Feb 11, 2026
sachauhan-adobe
approved these changes
Feb 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adding Meta Object parsing and Reevaluation support in LaunchRulesEngine.
LaunchRule now also have meta object which allows it to take logical decisions about rule execution if needed. Currently we are parsing reevaluation flag only.
Extensions implementing the LuanchRulesEngine can now register a 'RuleReevaluationIneterceptor' which pauses execution of rules which are allowed to be reevaluable. For now only 'schema' type rules can be made reevaluable.
All rules containing schema type consequences are held back if any of the rules is reevaluable to make sure of consistency of the consequence and behaviour and are executed together.
Once interceptor is triggered the calling extension will get a callback for it and execution is continued once extension triggers 'onComplete'.
Related Issue
Here is the epic for the same : https://jira.corp.adobe.com/browse/MOB-24354
Motivation and Context
This flag enables Extensions to make sure that the rules are up to date before triggering the consequence for a sensitive rule. In case of Messaging this is used to make sure the in app messages shown are up to date and eligible for customer.
How Has This Been Tested?
The changes have been tested by creating campaigns with variations as described in this wiki: https://wiki.corp.adobe.com/display/adms/Bug+Bash%3A+InApp+Re-evaluation+Feature
Screenshots (if appropriate):
Types of changes
Checklist: