Publishing subitems with draft state

Hello,

I have an issue on a site for a client.

We have an agent that import data.

this agent creates or updates items and than publish the root item with subitems option set to true.

the issue is that it is also publishing items in workflow draft state.

How do I go about stopping it ?

 

I already tried creating a list of items to publish, and by doing so i had some issues with coveo generating duplicates...

 

thanks in advance for the help.

Regards,

 

Andre