Patent ID: 8400658

Claim:
A network device that is connected to a network and that executes a workflow by receiving document data, the network device comprising: a detection unit that detects an input of data from another device; a determination unit that determines whether the data whose input is detected by the detection unit is document data or error log data; an execution unit that, when the determination unit determines that the data is document data, executes a job flow for the document data in accordance with a predefined job flow; an output destination determination unit that determines an output destination of an error log based on workflow settings; and a log output unit that outputs the error log to the output destination of the error log determined by the output destination determination unit based on the workflow settings, when a job flow executed by the execution unit in the workflow fails or when the determination unit determines that the data is error log data, wherein the detection unit detects an input of data when the data is inputted in a folder, and the execution unit starts to execute a job flow when the determination unit determines that the data inputted in the folder is document data.