Issue with keeping track of every records processed


I have a issue:
What i am doing is keeping a track of each and every record process with status of every action in the workflow, now i am stuck at a point where if my condition doesn’t satisfy the whole trans. has to stop and post the status failed in the excel i am maintaining.

I am using RE Framework.

Screenshot attached: