I have a button flow that accepts two parameters. Both parameters are optional. InspectionId (int) and InspectionMonth (int). I check for null values with coalesce for the parameters. But what I have found is that if I do not supply the InspectionId I get the following error:
Unable to process template language expressions in action 'Initialize_variable_|_ParamInspectionId' inputs at line '0' and column '0': 'The template language expression 'coalesce( triggerBody()['number_1'], 0 )' cannot be evaluated because property 'number_1' doesn't exist, available properties are 'number'. Please see https://aka.ms/logicexpressions for usage details.'.
This only occurs for the InpsectionId parameter. If I leave InspectionMonth parameter blank, the similar evaluation works fine.
I am at a loss. How do I check to see if it exists?
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Solved! Go to Solution.