I have a for each that looks through PDFs (only 1 PDF). Inside of the for each, i have an IF statement that if the condition is true, continues the sequence but if it is false, i want it to end the uipath process all together. In my else, i’ve put a send email, which alerts me that the statement is false, but after it does that, it continues the rest of the process. How do I end it? I’ve tried Kill process but that doesn’t work.
Terminate Workflow will do it, but that faults it in Orchestrator. You need to be doing proper error handling and workflow design so that you catch the error (Try/Catch), process it as needed, then end gracefully (by simply getting to the end of the flow).