By using power automate, I am copying file from SharePoint folder to blob storage and passing the file name to service bus message queue . and for that I am using Get File Content Using Path action.
Now there will be scenario where the path will not be present i.e. the file will not be present in SharePoint library. in that case, it gives me error 404, file not found and it does not execute the further step of passing message to Service bus Queue.
I would like to handle this error so that in case of file not found, I pass message to Service bus as file not found. Is it possible that I skip the step in case there is 404 error???
Solved! Go to Solution.
Hi @Anonymous
Have a look at the try catch finally template https://flow.microsoft.com/en-us/galleries/public/templates/e8e028c6df7b4eb786abdf510e4f1da3/try-catch-and-finally-template/
Here you can trigger different stages based on the outcome of the previous step or scope. This might help you group together the different stages and run different branches depending on outcome.
Worth investigating the configure run after step
Damien
Hi @Anonymous
Have a look at the try catch finally template https://flow.microsoft.com/en-us/galleries/public/templates/e8e028c6df7b4eb786abdf510e4f1da3/try-catch-and-finally-template/
Here you can trigger different stages based on the outcome of the previous step or scope. This might help you group together the different stages and run different branches depending on outcome.
Worth investigating the configure run after step
Damien
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Read the latest about new experiences and capabilities in the Power Automate product blog.
User | Count |
---|---|
24 | |
20 | |
9 | |
9 | |
7 |
User | Count |
---|---|
40 | |
33 | |
26 | |
22 | |
13 |