Character/Numeric Issues Query Entity Rules

Hi Team,
We have query entity rule(say QREntity) which gets rows from table based on the input passed.
It's like fieldA = ri!input. (fieldA in db is defined as Numeric)

ri!input is defined as numeric. I am invoking this rule from another rule as below
with(
local!input:8,
rule!QREntity(local!input)
). It works without any issues. But if change it as below
with(
local!input:"8",
rule!QREntity(local!input)
). Then also surprisingly no issues. My question is doesn't it matter the data type of variable passed while executing the Query Entity Rule. This question is asked in the backdrop of a DB change where we are converting a numeric DB Field to Text.

If the rule works without any issues ,then we need not change lot of rules which are passing the parameter as numeric.

OriginalPostID-232657

  Discussion posts and replies are publicly visible