What’s happened between the first api action and the second one? Just updated Wappler to latest version but I do not think it is something wappler-related.
As far as I know the Set Value step is relative to the section it’s placed in. Inside a repeat, each Set Value relates to that specific record of the resultant repeat array/loop.
i.e.
data:{
broker_earning: null (set by the first Set Value)
repeat:[
{
broker_earning: "500" // can't access the first broker_earning to add)
},
{
broker_earning: "500" // can't access the first broker_earning or one from first record
}
]
}
You could initialise a session value to null and set that at each step so that it was available at all levels