Posted on 26/06/2015 13:30:32
Hi Dmitriy
My task is already configured to send an email notification and to log all requests and responses and I know of the logs which I have checked several times. To simplify the debugging and to speed up the import I have set the "Data import activity" field on the task to "none" (this activity imports >50Mb). So now my scheduled task only runs the "User import activity". But still the JobFailed property returns true! Here are the logs and email notification:
\Files\System\Log\DataIntegration:
fr, 26 jun 2015 13:21:52: reading configuration
fr, 26 jun 2015 13:21:54: Importing data to table: AccessUser
\Files\System\Log\ScheduledTasks:
fr, 26 jun 2015 13:21:45: Starting scheduled task: Data Product & User Import from NAV
fr, 26 jun 2015 13:21:45: no Data Import activity found, no data imported
fr, 26 jun 2015 13:21:46: Request: <GetEcomData UserGroupDealer="260" UserGroupB2B="259"><tables><Users type="all"/></tables></GetEcomData>.
fr, 26 jun 2015 13:21:52: Response: <?xml version="1.0" encoding="utf-8"?><tables><table tableName="AccessUser"><item table="AccessUser"><colu......(I have removed the rest!)
fr, 26 jun 2015 13:21:58: Incuding file content: D:\Websites\Customer\src\DisPlay.DW.Nellemann.Presentation\Files\System\Log\DataIntegration\ErpUserImport20150626-1321459967153.log
fr, 26 jun 2015 13:21:52: reading configuration
fr, 26 jun 2015 13:21:54: Importing data to table: AccessUser
fr, 26 jun 2015 13:21:58: End of file content: D:\Websites\Customer\src\DisPlay.DW.Nellemann.Presentation\Files\System\Log\DataIntegration\ErpUserImport20150626-1321459967153.log
fr, 26 jun 2015 13:21:58: Scheduled task: Data Product & User Import from NAV completed successfully.
The email notification:
Hello
Scheduled task Data Product & User Import from NAV has been completed.
The add-in executed in this task is: Data Product & User Import from NAV.
Error log information:
*Scheduled_task_completed_successfully
I can't see why the property JobFailed returns true, but it does!