Question

action event Condition

  • 11 September 2020
  • 4 replies
  • 317 views

Userlevel 3
Badge +7

hello, 

i need to notify an user if the used credit > credit limit 

i used the condition below , but it seems not working .

when i use a variable as value to compare

thank you .


4 replies

Userlevel 5
Badge +9

I would expect that to work. It looks like CREDIT_LIMIT_NO and USED_CREDIT_NO are calculated parameters.  You could try creating an event action that just emails you the values of the 2 parameters - so you can confirm they are being calculated correctly.

Userlevel 3
Badge +7

yes i did it , they are being calculated correctly . 

i wonder if the syntax of value is Correct ! 

& credit_limit_no (because it’s the first time i use a variable as value ) 

Userlevel 5
Badge +9

You need the &CREDIT_LIMIT_NO to be 1 string.  I can’t tell if you have a space in there or if it’s just the way the text is displayed.  Otherwise, I think it’s OK.  I think we’ve done this before (compare 1 custom parameter to another), but I can’t find an example on my system.

Userlevel 3
Badge +7

it works. i had a space in &CREDIT_LIMIT_NO.

 

thank you so much .

Reply