I currently have a flow that takes HTML from Powerapps and converts it into a PDF then saves it to OneDrive. I would like to add one more step to this process and have that document emailed to someone (it will be the same person every time) but every time I try to add this process, it fails.
Here is what I have currently:
I have also tried sending without attachment just for testing purposes and it still failed. I'm very new to flow so not sure what I'm doing wrong
Solved! Go to Solution.
@edgonzales So I went ahead and rebuilt the flow with the new email step at the end and it works. I have no idea why it won't work with the other one since they're identical in every way.... but it's working.
Thank you again for your help!
Hi there! Can you show us the error that is coming along with the 'fail'? That'll help narrow things down, I think.
-Ed-
Ok, cool. If you click on the step that failed, it should give you some more information
Just checking on this: Did you add the email step after a run, and are getting the errors on a test from a previous run? Or are we triggering the Flow all over again?
That might be the issue. Try re-triggering the Flow now that you've got an additional connector. Meaning: go back to your PowerApp and make a fresh Flow run.
Error details:
Unable to process template language expressions in action 'Send_an_email' inputs at line '1' and column '2028': 'The template language expression 'json(decodeBase64(triggerOutputs().headers['X-MS-APIM-Tokens']))['$connections']['shared_office365']['connectionId']' cannot be evaluated because property 'shared_office365' doesn't exist, available properties are 'shared_onedriveforbusiness'. Please see https://aka.ms/logicexpressions for usage details.'.
All of this seems to be yelling about OneDrive, and we get the same error if we pull the attachments off of the email?
I'll keep digging.
@edgonzales
Yes, same result without the attachments. I found something that said I have to completely rebuild the Flow but I'm hoping to avoid that if possible.
@edgonzales So I went ahead and rebuilt the flow with the new email step at the end and it works. I have no idea why it won't work with the other one since they're identical in every way.... but it's working.
Thank you again for your help!
User | Count |
---|---|
16 | |
16 | |
14 | |
9 | |
8 |
User | Count |
---|---|
29 | |
28 | |
24 | |
23 | |
13 |