Set dispatch to check for isSuccessfull