We have been using the same Flow for several years with no issues. This past Monday we began having issues.
We have a Sharepoint list that when we add a new document to the list and the date on the new document equals today's date, an email is sent containing the link to the document (output). Starting on Monday of this week the link has been broken (has a space in it) so no one can open the document.
Can anyone advise what we need to change to get this to work again?
Here is the Flow:
Here is the email:
Solved! Go to Solution.
Because you are going to use the same dynamic content that you were using before within the expression. I can't tell for sure, but I think the exact expression you need is:
replace(item()['{Link}'], ' ', '%20')
Replace your {Link} Dynamic content with the expression above and it will still continue to provide the link as it did before, but it will replace any spaces with %20.
Does that make more sense?
I cannot explain why it has broken, but perhaps you need to wrap the URL in the
Or perhaps this would be easier, just replace the spaces with %20:
replace(outputs('Compose'), ' ', '%20')
I don't understand how we would do that since we are using "Create HTML" and then in the "Send an email..." we use the Output.
How will that work if the link is going to be different every time an email is sent out? Maybe I am not following.
Because you are going to use the same dynamic content that you were using before within the expression. I can't tell for sure, but I think the exact expression you need is:
replace(item()['{Link}'], ' ', '%20')
Replace your {Link} Dynamic content with the expression above and it will still continue to provide the link as it did before, but it will replace any spaces with %20.
Does that make more sense?
Check out new user group experience and if you are a leader please create your group
See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.
User | Count |
---|---|
48 | |
43 | |
43 | |
42 | |
37 |
User | Count |
---|---|
82 | |
78 | |
69 | |
51 | |
47 |