Hi All,
We are using Standard Business Event of Purchase Order Workflow for sending the Email notification through Microsoft Flow and get it approved through email.
Now I have to do customization for adding an attachment of report in WF notification. The idea is to add new field of type String in Business Events and then transfering the PDF file through Business Events to Microsoft Flow. For this
1) I have to convert(Encode) PDF file into base64String in D365 Finops
2)transfering to Flow through Business Events
3) Decoding the file from base64String to PDF in Microsoft Flow and send as attachment in Email Notification.
Could you please let me know, above solution is feasible or not and Code to convert PDF to Base64 in D365 finOps?