Hi,
I have a sharepoint choice column which I would like my flow to show the values in an email body on seperate lines concatenated with "- [ ]" before the value.
My statement is as follows:
concat('- [ ] ', split(triggerOutputs()?['body/column/Value'], ',')[0])
My error is that if there are no values (null) it gets stuck. Is there away to ignore/disregard null values?
InvalidTemplate. Unable to process template language expressions in action 'Send_an_email_(V2)_-_Accounts_Ticket' inputs at line '0' and column '0': 'The template language function 'split' expects its first parameter to be of type string. The provided value is of type 'Null'. Please see https://aka.ms/logicexpressions#split for usage details.'.
Output should look like:
- [ ] Value 1
- [ ] Value 2
- [ ] Value 3