Patent ID: 8526021

Claim:
A server which communicates with an image processing apparatus via a network and performs a process in cooperation with the image processing apparatus, said server comprising: a storage unit that stores flow definition information defining a flow of a process executed in cooperation with the image processing apparatus; a transmission unit that determines whether or not a processing request received from the image processing apparatus is issued after an occurrence of an error, and transmits, to the image processing apparatus, UI information for instructing the execution of a process in accordance with the flow definition information stored by said storage unit, which defines a flow of the process according to the processing request when the processing request is not issued after the occurrence of the error; an execution control unit that controls the image processing apparatus to cooperate with said server to execute the process in accordance with the flow definition information; a specifying unit that specifies a location in which an error has occurred and a cause of the error, when a processing request received from the image processing apparatus is issued after the occurrence of the error; a flow definition unit that defines a flow of a process in accordance with the processing request after the occurrence of the error based on the location in which the error has occurred, and the cause of the error specified by said specifying unit; a UI transmission unit that transmits UI information for instructing the execution of the process defined by said flow definition unit to the image processing apparatus; and a control unit that controls the execution of the process corresponding to the processing request after the occurrence of the error in accordance with the process defined by said flow definition unit based on information instructed by the image processing apparatus based on the UI information.