I need something similar to this where it checks to see if a record exists.
https://powerusers.microsoft.com/t5/General-Discussion/Checking-to-see-if-a-Record-exists-if-it-does-then-Patch-an/td-p/16623
I have a situation where multiple people are assigned subtasks to a major task, and it can't be marked approved until all people have performed the task.
Here is what I am using.
If(LookUp(Filter(MOC_Approvals,vID.ID='MOC ID'),Status="Approved",true)<>true,UpdateContext({vSuperCheck:false}),UpdateContext({vSuperCheck:true}));
The problem I realized this morning is that lookup will return a true on the first item marked approved, but I need it do something like a ForAll. Any ideas?