I have an email which has a series of Labels and Properties, for example:
Laptop make: Hewlett Packard
Mobile model:
Monitor type: SA450
Extension: 9999
What I would like to do is to the hide any line where the data field is blank; in this example "Modile model". I also don't want to have a blank line in the email. So what I would like to see is
Laptop make: Hewlett Packard
Monitor type: SA450
Extension: 9999
you have to prepare mail content into a variable.
if a field has a value - append it to variable, if it doesn't have - do not append it.
then just insert variable into mail body.
Use 'Set a Condition' to check the 'Mobile model' is empty or not. Have 2 send notification objects.
If 'Mobile model' is empty, remove 'Mobile model' line from send notification object else have 'Mobile model' value in send notification object.
Thanks,