Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

The way to compile scripts defined as "execute globally"

Avatar

Avatar
Boost 3
Level 1
IgorGL
Level 1

Likes

3 likes

Total Posts

1 post

Correct Reply

0 solutions
Top badges earned
Boost 3
Boost 1
View profile

Avatar
Boost 3
Level 1
IgorGL
Level 1

Likes

3 likes

Total Posts

1 post

Correct Reply

0 solutions
Top badges earned
Boost 3
Boost 1
View profile
IgorGL
Level 1

05-06-2019

We had the following issue in Prod:

1. We have is a Rule set to "execute globally" with a bunch of functions that meant to be used by other rules

2. Launch compiled this Global Rule into a separate JS

3. As a result, we ran into a timing issue - when my global functions are called they are not loaded yet

While I was working with Adobe's Level 1 folks to resolve it - we did identify that timing of loading JS is the issue, Adobe implemented a change -> Global Rule was compiled into the body of the Launch.js.

Let's make sure it is done this was going forward as making it into a separate JS clearly has a potential to create a timing issue.