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

Check if delivery is in preview for typology control rule

Avatar

Avatar
Springboard
Level 1
emil_rowland
Level 1

Like

1 like

Total Posts

22 posts

Correct Reply

0 solutions
Top badges earned
Springboard
Establish
Validate 1
Give Back
Ignite 1
View profile

Avatar
Springboard
Level 1
emil_rowland
Level 1

Like

1 like

Total Posts

22 posts

Correct Reply

0 solutions
Top badges earned
Springboard
Establish
Validate 1
Give Back
Ignite 1
View profile
emil_rowland
Level 1

14-04-2021

Hi,

 

I have a typology rule to fail a delivery if a variable is not set. But for proof and preivew I don't want it to fail. I have fixed it for proof but haven't find any flag for preivew.

Do anyone know if there is a flag that I can check if it's in preview or if I can skip the typology rule.

The typology rule is a controll type and is executed at start of targeting.

 

current code:

if(delivery.FCP == 1) { //Skip proof
  return true;
}

if(variables.var1 == 1){
  return true;
}

return false;

 

 

Accepted Solutions (0)

Answers (0)