Expand my Community achievements bar.

SOLVED

Change pressure rule based on delivery's label?

Avatar

Level 6

Is there a way to change what pressure rule is used based on delivery label? 

For example, if delivery's label contains: XX , recipient should recieve 1 push daily and 3 push per week at max.

If delivery's label doesn't have XX, recipient should recieve 1 push daily max and 2 weekly push at max.

Pseudo code: 
function checkLabel(delivery) {
    return delivery.label.includes("XX");
}

But how do you tell this, use pressure rule A or pressure rule B?
1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hello @god_prophet 

 

You can create 2 pressure rules and use the application conditions for a specific delivery label

Manoj_Kumar__0-1714346178886.png

 


     Manoj
     Find me on LinkedIn

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hello @god_prophet 

 

You can create 2 pressure rules and use the application conditions for a specific delivery label

Manoj_Kumar__0-1714346178886.png

 


     Manoj
     Find me on LinkedIn