How to end script

By default, thread will end when last action will be executed with success result. You can end it beforehand with “Fail” or “Success” action:

Success function requires no parameters, it just stops thread execution:

“Fail” action requires message, this message will be put to log tab and to script report window: