Hi! Hoping you can assist.
I have a custom API connector that is added to a collection passing a CompanyID parameter. This is working perfectly. What I'm trying to do is add the "CompanyID" parameter that is being passed to the "CompanyID" in the new "findings" collection as it iterates. Here's the formula that I currently have. I have hardcoded the 1, but need the correct CompanyID. Any thoughts?
ForAll(
clientlist,
Collect(
findings,
DataConnect.GetPGroups({CompanyID: Value(CompanyID)})
); UpdateIf(findings,IsEmpty(CompanyID) = true,{CompanyID: 1})

)