The purpose of my automation is to use Machine Learning Document understanding to determine the details from the invoice, then compare it to our internal billing system to pull out an allocation methodology. The data has already been classified and validated by the AP team at this point, and the form is to be used to get the final approval by whoever AP suggests to approve. We want the form action to show all the information pulled from invoice and pulled in from the validation action, as well as show a copy of the invoice in the form.
I see that I can add an html element to display the invoice, but it appears as though it needs to be a set path. I need to be able to set the path as a dynamic element that will be passed in from the workflow. Also when I use the code “<iframe src=”/file://c:\folder\doc.pdf" /"> with the correct name of the file I do not get anything in the preview. How do I set up the form to allow for a variable to show the path of the file? And how do I get it to show in the preview when it is even a set path.
Please note, my background is not in IT, so coding is not my forte, any assistance would be greatly appreciated.