JSR223 Postprocessor Prev Success

if (!prev.isSuccessful()) {
    //your code here
}
Alexey Svetlov