Can any body explain how to write Function call for Object state in Recovery Scenario