
Hello.
I have a flow that converts ms word business to pdf. The flow has several ms templates and based off of the template type, it generates the pdf. I am receiving the following error at the Convert to PDF node:
Conversion of this file to PDF is not supported. (InputFormatNotSupported / Bad request)
I'm using the following variable in the Create file in Onedrive File Content:
if(equals(triggerOutputs()?['body/TemplateID'], 'Perf Term', outputs('Perf_Term_template')?['body'],
outputs('Term_Policy_template_')?['body']))
It works fine if i dont use the variable.
Thank you for assistance!!
Hi @Misa ,
Please put the actions ('Create file' and 'convert' file) in the branch of Switch.
Then remove if function in the expression.
Best Regards,
Wearsky