Is there a easy way to achive the below result
a)copy a file to folder "success" in case of a happy flow and copy file to another folder "failure" in case of an error.
I do see samples in this forum but doesnt look like a clean one.
Is there a definite way to achieve it.
Looked at the reference manual and doesnt give many good idea