Hello,
I have a flow that processes hundreds of files.
On activating the flow, I would like to check for a log file first, if it exists, process the many files, if it does not exist, do not process the many files and send an email.
I do not know how to do this. Can anyone give me some suggestions?
Thanks
How to stop a flow if file does not exist
Re: How to stop a flow if file does not exist
I tried it but i cannot get it to work with network path.
I wrote a script that is working.
But I want to stop the flow completely if the file does not exist.
I wrote a script that is working.
But I want to stop the flow completely if the file does not exist.
Re: How to stop a flow if file does not exist
If you're wanting to stop the flow like you do in the Switch Designer, you could use the Switch Web Services REST API: https://cdn-www.enfocus.com/manuals/Dev ... s-StopFlow
Re: How to stop a flow if file does not exist
It does work with network paths, you have to write them correctly as an inline value in the properties.