Creating an administration app for creating and training dataset
Creating an administration application to create and train a dataset is breeze with the Salesforce platform, provided we have the Apex services written. We can invoke the Apex services we built for the creation of dataset and its training via either a process builder or an Apex. With the apex triggers, one will need to use @future
(https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_invoking_future_methods.htm) annotated methods to invoke the web service calls or use batch or Scheduled apex.
For our admin application, we will use Apex (triggers and scheduled) to automate the sequence of operations we need to create and train a dataset.
The sequence for the application is as follows:
- An administrator creates a dataset record (dataset is a custom object) that will have a mandatory field of public URL. We will also have a field to capture the status of the job and ID of the dataset. This process will get...