Change pressure rule based on delivery's label? | Community
Skip to main content
Level 6
April 26, 2024
Solved

Change pressure rule based on delivery's label?

  • April 26, 2024
  • 1 reply
  • 503 views

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?
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Manoj_Kumar

Hello @god_prophet 

 

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

 

1 reply

Manoj_Kumar
Community Advisor
Manoj_KumarCommunity AdvisorAccepted solution
Community Advisor
April 28, 2024

Hello @god_prophet 

 

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

 

Manoj  | https://themartech.pro