Added local variables to pass success status to the post-messages
Ref: #662