After an address is updated, I would like to run the standard Geopointe Geocoder batch job (for the Delta). Is this possible to do via Apex?
I understand that they offer
geopointe.API.geocodeRecord(id) but considering it makes a callout it cannot be run directly from the Trigger code itself, meaning it has to be put into a
@future method. We may run into the case where the address is updated within a
@future method so things would fall apart at that point.
Database.executeBatch(new Geocode_Schedule(), 100); does not work. It throws an
Invalid type error.