OK, here's one for you Function wonks out there.
I have a request offering that is basically an order form for several items. There is a text field parameter for each item that asks for a quantity. When a non-manager submits this, I need to send an approval to their manager - so far, so good.
I want the approval notification to indicate each item and the quantity that the person ordered (so the manager knows what they are approving). I know how to add a given parameter to a notification, but the problem here is that there are many parameters in the offering, and I only want the email to list the ones that have a quantity (a list of what was actually ordered).
I tried using:
but that doesn't do anything - even if it did, I don't want ALL the parameters, just the ones with a qty value.
So. Does anyone know how I could write the function to list all parameters that are not null in an email? Would I have to do a long If-Then-Else string? Is there a shorter/cleaner way?
Thanks in advance-