Macro IfNotEmpty

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Macro IfNotEmpty

L4 Transporter

I would like to display some text in the body of a mail template only when the value of a macro is not empty. Acutally I would like to display a text that also contains the value of the non empty macro. For example if a certificate contains OUs I would like to display a text

 

The certificate with the following OUs <list of OUs> ... but only if the certificates has OUs and nothing at all if it doesnt have any OUsOr to add a sentence in the mail The certificate requested by <Last Updated By> ... but only if the field is not empty. I know I can use the IfEmpty macro to put for example Unknown if Last Updated By is empty to build a sentence that would look like The certificate requested by Unknown but this is not what I want. How could this be achieved?

0 REPLIES 0
  • 31 Views
  • 0 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!