Problem
I use ImportHandler from DataModule to import the data. All imported data is automatically activated directly after the import. Can I change this behavior to use workflow instead?
Solution
After a successful import, the protected ImportHandler.doPostImport() method is called. This method initiates two commands deleteAll(old content) and activateAll(updated content). Those commands are defined in /config/data/commands/data. You can change those commands to invoke your custom workflow instead of deleting/activating directly or you can override doPostImport() method of ImportHandler to change this functionality all together.