Can you choose a topic and stick to it rather than spreading you one question across multiple topics.
That error is because you have created an action with a field name the same a default value in the rule.
When naming open fields in actions using [:xxx] it shouldnt be a rule variable, easiest way to be sure is to make sure it has a space as no rule variables do.
It wont let you anymore after issue was found that it results in it ignoring the value entered within the action in the rule and would directly take the relative variable from the rule.
So a few things to remember here. If it matches the constraint… if its greater than 0 and less than 5 it will still let you sell 150 of the item putting you below. However if its already below 0 or greater than 5 then it will not let you sell any. You should rethink how your building this.
You should change it so its constraining Order QTY to what is in stock So two constraints would be:
So if the quantity is greater than what you have in stock then you can execute the message and you can make it tell you how many are actually in stock to adjust your order.
When designing logic like this it is really important to slow down and sit back and think step by step what it is doing. And you have to remember it can not think so it only does what you tell it to do. All you told it to do was check if inventory is above 0 or below 5 and react to that but you never told it what to do to limit your ability to sell more than what is in stock.
Kindly demonstrate how you are doing this,i followed the post and found you had the same problem with your stock .Please let me kb=now how you went about it.
Regards