• Categories
  • Recent
  • Tags
  • Popular
  • Solved
  • Unsolved
  • Users
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Darkly)
  • No Skin
Collapse
brainCloud Forums
G

gyutaelee

@gyutaelee
About
Posts
1
Topics
1
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

    Does GetEligiblePromotions trigger Automated Promotions in real-time after XP level update?
  • G gyutaelee

    We have an Automated Promotion tied to a segment condition: experienceLevel >= 4.

    Our flow is:

    1. Server calls incrementExperiencePoints() via CloudCode → player reaches level 4
    2. Client immediately calls GetEligiblePromotions (client-side CAPI)
    3. The promotion is not returned

    However, if the player restarts the app and logs in again, GetEligiblePromotions does return the promotion correctly.

    Questions:

    1. Does GetEligiblePromotions evaluate segment conditions in real-time against current player state, or does it rely on a cached/pre-calculated segment membership?
    2. If there is a delay between incrementExperiencePoints and when the promotion becomes available via GetEligiblePromotions, how long is that delay typically?
    3. Is there a way to force immediate promotion triggering when a player's level changes mid-session?
  • Login

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Solved
  • Unsolved
  • Users