Multiple if function with one value

Hello, I have a multiple if condition that returns a list, but what I need is for it to return the condition that is only true. Thankss!!!

if(
  {and(
      ri!tipo = "Alzada",
    a!isNotNullOrEmpty(ri!feRegistro),
  ),
  and(
    ri!tipo = "Reposición",
    a!isNotNullOrEmpty(ri!feRegistro),
  ),
  and(
    ri!tipo = "Revisión",
    a!isNotNullOrEmpty(ri!feRegistroAdmin),
  ),
  },
  {ri!feRegistro + 90, ri!feRegistro + 30, ri!feRegistroAdmin + 30},
  {ri!feRegistro, ri!feRegistro, ri!feRegistroAdmin}
)

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data