OK, here is one for the developers.
We have a custom Dexterity application that links to Dynamics GP via eConnect.
We have written a powershell script that we use to upload PDF and XLSX files from our file system to Sharepoint.
This script is called from the dexterity routine that generates the PDF file.
The issue we have is that sometimes, for whatever reason, the PDF file does not successfully load.
I currently do a File_Probe() on the file server to see if the PDF file exists. If it does, I call the powershell script (converted to an exe) to upload to sharepoint.
I have the script logging the success or failure so I know why it is failing once or twice a day.
What I want to do is effectively do a File_Probe() on the Sharepoint URL/file to see if it exists and if it doesn't, rerun the process. I will do this an an end of day scheduled routine within our Dexterity application.
I am not sure of the best way to do this. I know it can be done in Powershell, PowerAutomate, etc but I need it from within Dexterity so I can just rerun the existing upload routine.
Any help would be appreciated.
Mark