Forum Academy Marketplace Showcase Pricing Features

For loop to make changes to a list of things, each change will be different

hello all,

I need to make changes to a list of things, but each change to the list item will be different based on a price tabulator (data type)

for example I have a price tabulator DT:
1 - 500
2 - 300
3 - 250

Data Type parent:
parent A # of kids= 3
payment = ?

parent B # of kids = 2

I want to run a workflow to update the parent’s payment DF to 250 for parent A, and 300 for parent B.

if I am coding I would frame it like this:

For i to end of the list do:
-thing parent(i) payment = price tabulator row index(# of kids)

I looked into the API scheduled workflows but they seem to be the same event/condition over and over.

is there a way to do a for LOOP?

sorry for the long message, thanks for the guidance

well I figured it out. More specifically this video helped me

basically API workflow on a list will act as a FOR LOOP

then I used the attribute :item# to identify the index/row of the “thing”

in case somebody is struggling with a similar issue