Filtering List

hello i would like to use a condition where UserEmail is equal to the user logged in
how can i solve this following error?

0 3 134
3 REPLIES 3

If I understand correctly you put 2 conditions into select(), right?

  1. [orderstatus] = โ€œpendingโ€
  2. orderlist[useremail] = useremail()

If so, maybe try to write:

SELECT(
orderlist[useremail];
AND(
[orderstatus] = โ€œpendingโ€;
[useremail] = USEREMAIL()
)
)

Hope it helped

yes i tried it
but i get the same error saying email type can be compared with list type.
[useremail] in orderlist is a list type as one email can have multiple [orderid].

Top Labels in this Space