I am trying to create an approval workflow , which gets triggered when a file is created in a sharepoint folder. So in the approval mail , I have inluded the file path ( as a dynamic content) in the the "Item Link" field. However , when I get the email , and click on the file path link , I get the error :
Error 404 : File/folder does not exist
But the folder and the file exisits in my sharepoint site ..
Can you please help
Thanks
Solved! Go to Solution.
Hi @SharmilaH,
The file path and the item link are two distinctly different things.
Unfortunately the data in the trigger "When a file is created in a folder" doesn't include the item link so we have to get it from the file properties as below:
Firstly there's the trigger itself, then we get the file metadata using the File identifier from the trigger and the get the file properties from the meta data:
We can then use the "Link to item" dynamic data from the get file properties in the approval:
Hope this helps!
Full flow in spoiler:
Hi @SharmilaH,
The file path and the item link are two distinctly different things.
Unfortunately the data in the trigger "When a file is created in a folder" doesn't include the item link so we have to get it from the file properties as below:
Firstly there's the trigger itself, then we get the file metadata using the File identifier from the trigger and the get the file properties from the meta data:
We can then use the "Link to item" dynamic data from the get file properties in the approval:
Hope this helps!
Full flow in spoiler:
Thank you very much . This helped and it works .
Thanks once again
Join digitally, March 2โ4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!
User | Count |
---|---|
31 | |
15 | |
13 | |
12 | |
7 |
User | Count |
---|---|
39 | |
24 | |
16 | |
10 | |
7 |