Nível 1
Nível 2
Faça login na Comunidade
Faça logon para exibir todas as medalhas
Hello Advisors,
I have a question regarding type casting in Offer Decisioning rules and ranking (Legacy version, not Experience Decisioning).
We have defined offer attributes across all offers, and although their values are numeric, these attributes are treated as strings by default. We need to compare these offer attributes with a profile field that is an integer.
I have not found a way to convert the string-based offer attributes to integers. I have tried functions such as toInteger() and CAST(), but none of them seem to work in this context.
Has anyone encountered this issue before, and is there a recommended solution or workaround to handle this type conversion?
Thanks,
Arpan
Solucionado! Ir para a Solução.
Visualizações
respostas
Total de curtidas
You can validate it by adding zero to the respective offer attribute.
Example - offer.characteristics.get("<offer_attribute>") + 0
You can validate it by adding zero to the respective offer attribute.
Example - offer.characteristics.get("<offer_attribute>") + 0
Thank you so much @Mohan_Dugganab
Visualizações
Curtida
respostas