Patent ID: 8363242

Claim:
An image processing apparatus comprising: a reading unit configured to read an image of a document and generate image data based on the read image of the document; an acquisition unit configured to acquire a process definition file which defines a content of reading processing to be executed by the reading unit and a content of transmission processing for transmitting the image data generated by the reading unit; a reading control unit configured to cause the reading unit to execute the reading processing and to generate image data according to a definition described in the process definition file acquired by the acquisition unit; a requesting unit configured to request an external apparatus to transmit the image data generated by the reading unit according to the definition described in the process definition file acquired by the acquisition unit; and an adding unit configured to add, to the process definition file acquired by the acquisition unit, a description for instructing the external apparatus to execute notification processing for notifying a result of the transmission processing of the image data carried out by the external apparatus, wherein the requesting unit is configured to issue the request by transmitting, to the external apparatus, the image data generated by the reading unit and the process definition file to which the description for instructing the external apparatus to execute the processing for notifying the result of the transmission processing is added by the adding unit; and further comprising: an output unit configured, if the result of the transmission processing is notified from the external apparatus, to output the notified result of the transmission processing; and a status determination unit configured to determine whether the output unit is available, wherein when the status determination unit determines that the output unit is available, the adding unit adds, to the process definition file, a description for notifying the image processing apparatus of the result of the transmission processing, and when the status determination unit determines that the output unit is not available, the adding unit adds, to the process definition file, a description for notifying an apparatus different from the image processing apparatus of the result of the transmission processing.