Hmm… hopefully this helps. lol

Each entry is a price that needs to be subtracted from the nth price to come up with the 1 week, 2 week, 4 week change.

Example:
478.80 - 483.60
478.80 - 459.69
478.80 - 451.09

Repeat for each of the 4,000 prices that are loaded into the database. And I need to do this for each new Thing these prices are for.

But the only way I know how to let the workflow know the correct order (which price is item # 1 vs item # 7) is to send the prices as a list sorted by date. Here’s the backend workflow (BEWF) I currently have setup:

This is only for initial upload of the Thing and its prices. It’s 15-20 years of daily prices that’s why it’s such a big list. After initial upload, daily updates as new prices come in are not an issue.

I’m looking for an alternative way to process these initial calculations since a recursive workflow is so WU intensive especially with this many records.