2. SUB-FLOW
3.BACK TO MAIN FLOW
4.UPDATES THE ERROR IN THE DATABASE WITHIN SUBFLOW AND ROLLS BACK BY THROW
5.RETURNS TO CATCH TERMINAL OF INPUT UPON ROLLBACK AND UPDATES OUTPUT1 QUEUE WITH THE FAILED MESSAGE
NOTE: IF THE CONDITION Body.Staff.StaffNumber <='10' IN CheckValidStaffNumber NODE IS SATISFIED THEN UpdateStaffDatabase node hits and computes accordingly.