Hello Friends,
I have this code where I'm trying to say: if an Apple Status is Eaten make all the Apple Seed = Eaten
Every Apple has many seeds.
This code only changes the first seed's status in a list to eaten but I want the whole list to be = to eaten
Can I create a loop in PA for it to keep running the code so the whole list's statuses get affected?
Here is the code
Patch(
ApplesSeeds,
LookUp(AppleSeeds,AppleSeeds_Apple.AppleID= AppleIDDataCardValue.Text
),
{
AppleSeedStatus: LookUp(Choices(Status), Text(Value) = "Eaten",Value)
}
);
FYI data source for this is dataverse