Remove files from hierarchy
Posted: Tue Dec 08, 2020 1:02 pm
Hi.
I need to create a flow for web orders which will delete the files for a cancelled order.
My thoughts was to pick up the name of the files from the subject of the cancellation mail. Use that to inject the file from the file server and remove it from the file server once injected into the flow, where it would be sent to a recycle bin.
However, I don't know where in the hierarchy the files are. On the file server there are a variable amount of folders whose names start with the delivery date and then contains which shipping method that is to be used.
Does anyone have any ideas on how to solve this?
Thanks in advance
Lasse
I need to create a flow for web orders which will delete the files for a cancelled order.
My thoughts was to pick up the name of the files from the subject of the cancellation mail. Use that to inject the file from the file server and remove it from the file server once injected into the flow, where it would be sent to a recycle bin.
However, I don't know where in the hierarchy the files are. On the file server there are a variable amount of folders whose names start with the delivery date and then contains which shipping method that is to be used.
Does anyone have any ideas on how to solve this?
Thanks in advance
Lasse