Does GetEligiblePromotions trigger Automated Promotions in real-time after XP level update?
Unsolved
APIs
-
We have an Automated Promotion tied to a segment condition: experienceLevel >= 4.
Our flow is:
- Server calls incrementExperiencePoints() via CloudCode → player reaches level 4
- Client immediately calls GetEligiblePromotions (client-side CAPI)
- The promotion is not returned
However, if the player restarts the app and logs in again, GetEligiblePromotions does return the promotion correctly.
Questions:
- Does GetEligiblePromotions evaluate segment conditions in real-time against current player state, or does it rely on a cached/pre-calculated segment membership?
- If there is a delay between incrementExperiencePoints and when the promotion becomes available via GetEligiblePromotions, how long is that delay typically?
- Is there a way to force immediate promotion triggering when a player's level changes mid-session?