An automatic analyzer comprising: an analyzing unit configured for analyzing a liquid sample; an input unit configured for inputting an analysis condition of the liquid sample; a display unit configured for displaying the inputted analysis condition; a storage unit configured for storing data analyzed in the analyzing unit and the analysis condition; and a control unit configured for controlling the analyzing unit, the input unit , the display unit , and the storage unit , wherein the storage unit is configured to store information on pipe functions, wherein the pipe functions are a plurality of maintenance items which may cooperate with each other to achieve an intended function, wherein the information on pipe functions is for sequentially executing a plurality of maintenance items associated with a preparation processing performed before an analysis by the analyzing unit and a post-analysis processing performed after an analysis by the analyzing unit, wherein the information on pipe functions is inputted from the input unit , and wherein the control unit is configured to sequentially execute the plurality of maintenance items based on the information on the pipe functions upon performing said preparation processing or said post-analysis processing, characterized in that the storage unit is further configured to store information on re-execution setting for setting a re-execution maintenance item from which re-execution is started with respect to the suspended maintenance item if the pipe functions of the plurality of maintenance items are suspended halfway, wherein the information on re-execution setting is inputted from the input unit , wherein the control unit is configured to re-execute maintenance from the re-execution maintenance item associated with the suspended maintenance item, based on the suspended maintenance item and the information on re-execution setting, if the pipe functions of the plurality of maintenance items are suspended. an analyzing unit configured for analyzing a liquid sample; an input unit configured for inputting an analysis condition of the liquid sample; a display unit configured for displaying the inputted analysis condition; a storage unit configured for storing data analyzed in the analyzing unit and the analysis condition; and a control unit configured for controlling the analyzing unit, the input unit , the display unit , and the storage unit , wherein the storage unit is configured to store information on pipe functions, wherein the pipe functions are a plurality of maintenance items which may cooperate with each other to achieve an intended function, wherein the information on pipe functions is for sequentially executing a plurality of maintenance items associated with a preparation processing performed before an analysis by the analyzing unit and a post-analysis processing performed after an analysis by the analyzing unit, wherein the information on pipe functions is inputted from the input unit , and wherein the control unit is configured to sequentially execute the plurality of maintenance items based on the information on the pipe functions upon performing said preparation processing or said post-analysis processing, the storage unit is further configured to store information on re-execution setting for setting a re-execution maintenance item from which re-execution is started with respect to the suspended maintenance item if the pipe functions of the plurality of maintenance items are suspended halfway, wherein the information on re-execution setting is inputted from the input unit , wherein the control unit is configured to re-execute maintenance from the re-execution maintenance item associated with the suspended maintenance item, based on the suspended maintenance item and the information on re-execution setting, if the pipe functions of the plurality of maintenance items are suspended. <EOS>