I have a qliksense app and nPrinting setup. I have been using emails output off an excel template.
1. I CANNOT get a simple variable as a condition to allow/ prevent an email from sending.
from the rule: Variable vHowMany < Constant 150
Even when I see the KPI on the app showing less than 150 for the equivalent filter used....the task FAILS
2. To test a separate variable, I created a second variable. Even after I run the Generate Metadata successfully [ multiple times] the new variable is NOT showing up when I try to set a different rule as a condition NOR does it show up if I try to add the variable to the template objects.
this is not enough information to answer your question. We need to see what is the variable value. If it is set in script please share code on how you set it if it is set in UI as an expression also show us how you have set it up. I am assuming your variable is not expanding and it is well described on https://help.qlik.com.
When you say: Even when I see the KPI on the app showing less than 150 for the equivalent filter used....the task FAILS,
I am assuming your KPI object is expanding variable and NPrinting works differently when working with variables as it is documented below: