The {Call:x} definitely returns a ‘Ok’ if the Script runs to the end using a return 'Ok' ; but for some reason the constraint must always evaluate to true i.e. Do not do action?
Note: I have tried placing Quotes around the {Call:x} and also used != 'Ok'
Advice please…
Ah crap hang on a minute sukasem it seems the Update Rule is not Updating the field! Opps my issue I think.
Should be {:IVSupplierID} not {:IVSupplierNo}
Will test now…
Yes confirmed my issue - you can use {CALL:x} as a constraint where the Script returns a Good or Bad value to constrain the Rule Action.
Action level constrain a bit tricky. All constraints in the rule will be evaluated first all of them before even the first action start. It does not evaluation one by one. So, think about the flow carefully.