
Hi All,
how can i apply an condition , whether to use the Markdown in the expression tab in Create Approval Body, i have written an below expression, but its not working.
Create_Table_HTML - Variable with the Value result set
Markdown Expression -
if(empty(variables('Create_HTML_table')), "" ,replace(replace(replace(replace(replace(replace(body('Create_HTML_table'),'</th><th>','|'),'</td><td>','|'),'</td></tr><tr><td>','|
|'),'</td></tr></tbody></table>','|'),'<table><thead><tr><th>','|'),'</th></tr></thead><tbody><tr><td>','|
|-----------|:-----------:|-----------:| -----------:|-----------:| -----------:|-----------:| -----------:|
|'))
if i use only the markdown expression, its working.
Thanks in advance
Vineeth
hi @VineethK
The approval details section takes markdown format alone. If not, you've other goal to achieve can you please elaborate?
ref: https://docs.microsoft.com/en-us/power-automate/approvals-markdown-support
Thanks
If this post helps, please consider Accepting it as the solution. Thumbs up if it helped you other way.