I have a staging table that stores product receipt data, which is populated via a custom service integration. Now, I need to trigger a batch job asynchronously whenever new data is inserted into this table. The batch job should perform standard validations and post the product receipt.
I've completed the part where data is successfully pushed into the staging table through the service. I’m now looking for guidance on creating the batch job.
Can this be achieved using just a single service operation class? Is it necessary to include a contract and controller class? Also, how can I ensure the batch runs asynchronously?


Report
All responses (
Answers (