Creating custom non-task-based, time-triggered transactions

Custom non-task-based time-triggered transactions should be written as subclasses of the com.yantra.ycp.japi.util.YCPBaseAgent class. For a sample custom time-triggered transaction, see the com.yantra.ycp.japi.util.YCPBaseAgent class in the Javadoc information.

About this task

To write a custom non-task-based time-triggered transaction:

Procedure

  1. Subclass com.yantra.ycp.japi.util.YCPBaseAgent.
  2. Implement the executeJob() and getJobs() functions in this class.
  3. From the Applications Manager, configure a time-triggered transaction and assign an Agent Server to it.
  4. Schedule and run your custom time-triggered transaction.