Hi,
I have a setup where I have a data integration job aimed at a specific directory, the integration job is triggered via URL whenever a file get´s written into the directory by a webservice running on my webserver. The integration job is set to Delete source file and Archive source files, however, when I receive a file, and the integration job starts, it will delete and archive that file, and all other files that have come into the directory after the integration job started. Shouldn´t the job only delete & archive the file that it read from?
Also, and maybe this belongs in the feature request section. Would it be possible, when you trigger an integration job via URL, to have it aim to a specific file in the URL? So let´s say I'm receiving files dynamicly with the naming convention PIMyyyyMMddhhssFFF.xml. Instead of the activation URL for the data integration job being:
http://testwebshop.is/admin/public/webservices/integrationv2/JobRunner.aspx?jobsToRun=PIM+CREATE&token=0b1b017713504bcefbeff143b3b666e
Could it be:
http://testwebshop.is/admin/public/webservices/integrationv2/JobRunner.aspx?jobsToRun=PIM+CREATE&targetFile=PIMyyyyMMddhhssFFF.xml&token=0b1b017713504bcefbeff143b3b666e
That way, each run of the data integration job would be targeted at a specific file, only that file would be deleted and archived after the import, and other simultaneous runs of the same integration job would only care for their respective files:)
Screenshots
1. The import activity mapping tables. Note that the files that are imported don´t always include all of those tables, but they never include tables that are not on this list:
2. The source settings:
3. The destination settings:
Best regards,
Arnór