Avatar

Level 5

Hello,

I'm trying to configure an advance pressure rule that is able to dynamically set the delivery weight1761456_pastedImage_2.png

Weight formula is something like that:

Case(

When([emailInfo/delivery/@nature]='firstDelivery',6 ),

When([emailInfo/delivery/@nature]='secondDelivery',5),

When([emailInfo/delivery/@nature]='thirdDelivery',4),

When([emailInfo/delivery/@nature]='fourthDelivery',3),

Else(0) )

I used also [currentDelivery/@nature] but I anticipate that the results are the same.

The single delivery is configured in this way:

1761457_pastedImage_6.png

I realized that the pressure rule works only with a constant weight but doesn't fit expectation if weight depends on formula described adove.

Could you tell me if there is something wrong in my configuration?

Thanks in advance,
Salvatore

Jean-Serge Biron

Amy_Wong

Vapsy

florentlb

Amit Kumar

Adhiyan

Ananya Kuthiala