I would like to create an import action that Constrains using the 'LastImportStartedOn' date from DatabaseReplication.ScheduledImportActivity entity as suggested in the Database Replication Documentation (see below). I am receiving an error any time I have this constraint enabled and don't see any more instructions on the documentation specific to this feature. Error Received: com.mendix.modules.microflowengine.MicroflowException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreException: The input object one is not of type: DatabaseReplication.ScheduledImportActivity but is DatabaseReplication.ImportCall at DatabaseReplication.IVK_ImportByImportCallConfig (JavaAction : 'ImportByImportCall') From documentation: (https://appstore.home.mendix.com/link/app/160/) When executing the import using an import call you can optionally provide two Mx objects to use as a constraint. This can be all types of objects (even non-persistent). However if you are using scheduled import actions and you want to use the last successful import date as a constraint you should select ‘ScheduledImportActivity’ as data object 1.
After creating the "Import Call", I created a "Planned Import" and chose the Import Call from the dropdown. This seems to work.