Developer forum

Forum » Integration » XML Provider Export generate file every time

XML Provider Export generate file every time

Allan Have Jakobsen


I've setup an export job of orders, with SQL Provider as source and XML Provider as Destination, I have a xsl that format the xml.

Every time I run the job I get a xml file, even if there is no rows from the source.

Is there anything I can do to prevent creating "empty" (the xml contains a empty root element) files then where is nothing from the source ?

I'm testing on version 9.3.8


Jonas Krarup Dam
This post has been marked as an answer

Hi Allan,

There isn't currently a way to do this.

If you are willing to add custom code, A simple way to achieve this, would be to create a notification subscriber that runs after the integration task is completed, and deletes the file if it is empty.

Regards, Jonas

Votes for this answer: 1


You must be logged in to post in the forum