Batch API process with Timers

Is there a way to user timers to consume API on a certain time? Let's say you will get your data in the DB and got 15 rows of data and consume those into an API endpoint using timers?

Solution

Hi Edwin,

Yes, is possible to do something like this:

1. Call API and create that 15 records in an Entity

2. Call the Wake<Timer> action

3. In timer, do an Aggregate to get that 15 records and do a for each to call the API for each record

You can find more information about the Wake<Timer> action here (section Use the WakeTimer Built-in Action): https://success.outsystems.com/Documentation/11/Developing_an_Application/Use_Timers/Create_and_Run_Timers#Use_the_WakeTimer_Built-in_Action

Solution

Thank you Luis for this! 

Hi again Edwin,

Be free to ask for help if you need it.

BR,

Luis