Hey guys, I’ve read through a lot of helpful posts on this subject and I think I know what I need to do, but would appreciate some verification…
Basically, I would like to have my app check for subscriptions which are renewing today and then bill the customer.
In my head it looks like this: Search for all subscriptions where the renewal date is current date and time rounded down to today, then try to charge each customer for the subscription.
Hopefully I’ll eventually have several hundred subscriptions, at least (thousands hopefully) for the workflow to go through.
The two methods I’m consider are:
Run API workflow on a list.
I’ll have a workflow that pulls the list I need and sends it to another API workflow to work on, then rescheduled itself for the next day…
Recursive Workflow (This is the one that makes my nose bleed, so bear with me)
Do a search for subscriptions where renewal is today: first item
Charge the subscription
Do this again in 5 seconds (or whatever)
Is that correct?
I understand I’ll need to trigger the first iteration manually and then it will schedule itself.
Any help or insight is greatly appreciated.