Expand my Community achievements bar.

Announcing the launch of new sub-community for Campaign Web UI to cater specifically to the needs of Campaign Web UI users!

Conditional content in transactional message template

Avatar

Level 1

Hi all, 

I need help about a conditional content in transactional message template.

 

I need to show different text when a field is empty or full.

 

I tried different condition (IS EMPTY, IS NULL, == 0) but noone worked.

 

If I write:

ElisabettaPi_0-1715154311404.png

didn't work. If I put a space between "" and in the field there is a space, it works. 

 

How can I specified the condition "the field is empty"??

Thanks

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Reply

Avatar

Level 7

Hello @ElisabettaPi. As this is javascript, not SQL, you should try with rtEvent.ctx.@attribute == undefined.

Hope this helps!