I created a scheduled API workflow on a list of applications. The backend workflow will calculate the amount to be paid for each candidate following the modification of the candidates’ classes.
The problem is that I also need to update the total amount for a registration file, which can include several candidates whose amounts are being modified.
So I need to run the calculation on the registration files after the calculations on all the applications are completed.
I therefore need to find a way to get a response when the API workflow on the list of candidates is finished in order to trigger the calculation workflow on the registration files.
The problem is that the Run function of the APP Connector does not work with backend API workflows on lists.
It would be great if somehow once the BE workflow calculation on the list of candidates is over, Bubble starts BE workflow on registration files.
You mentionned that I could return values with API connector, but can I return values of a BEWF schedulled on a list of items ?
One solution could be recursiveness, so that each candidate amout is calculated one by one, and same for the registration file, it will prevent overlapping calculations. But I really don’t want to implement this as it’s slow and costly.