Files are uploaded to Sharepoint folder via API from Salesforce and and XFilesPro, we need to rename the file. The file will be the folder name (current folder, not full path) followed by value in a custom column we have created called "Document Type".
The trigger for the flow should be when the value of the custom column "Document Type" is updated.
We have searched the community forums for help on this, but so far we have more questions than answers. Can anyone help us with this?
Thanks so much for any help.
Solved! Go to Solution.
@Anonymous For trigger of the flow you need to use "When an item or a file is modified" trigger and then add "Get changes for an item or a file (properties only)" action and configure as shown in below screenshot. Then add condition action, where from Dynamic Content you will be able to select Has Changed: column name to check the value of whether the column value has been updated for that column or not.
Then to rename the file i think you will need to use REST API in Send HTTP Request to SharePoint action, configure it as shown in below screenshot, here I am using static file name. But you can get the Folder Name and Custom column value from dynamic content to create the file name
@Anonymous For trigger of the flow you need to use "When an item or a file is modified" trigger and then add "Get changes for an item or a file (properties only)" action and configure as shown in below screenshot. Then add condition action, where from Dynamic Content you will be able to select Has Changed: column name to check the value of whether the column value has been updated for that column or not.
Then to rename the file i think you will need to use REST API in Send HTTP Request to SharePoint action, configure it as shown in below screenshot, here I am using static file name. But you can get the Folder Name and Custom column value from dynamic content to create the file name
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
At the monthly call, connect with other leaders and find out how community makes your experience even better.
User | Count |
---|---|
25 | |
24 | |
23 | |
23 | |
19 |
User | Count |
---|---|
58 | |
39 | |
38 | |
29 | |
24 |