Inserting text in a field under "IF" conditions
I'm trying to make a script which inserts a certain text if a condition is fulfilled and inserts another certain text if another condition is fulfilled in a field.
I have tried with the following script:
If [Products:: Max > Products::Current number ≥ Products:: Max - 2]
Insert Text [Select; Products::Status; "Few products left"]
If [Products:: Max ≤ Products::Current number ]
Insert Text [Select; Products::Status; "Products sold out"]
But it does not work. It's like nothing happens as if it is not activated..
Can anyone help me?