reject function used with index function

Certified Senior Developer

How can we fetch only not null cases from this index function.

pls share the detailed query

  Discussion posts and replies are publicly visible

Parents Reply
  • My approach is already very easy to adapt for the use case of "get all rows where C26 is not null", and allows us to loop only once, instead of nesting together index() and whereContains() and index().

    (As an aside, this is why it's important to phrase initial questions carefully and include relevant detail and/or information about your use case.)

    The way I wrote it above just gets the "c26 values that are not null" but it is a very easy switch, as below:

    a!flatten(
      a!forEach(
        local!activeTasks,
        if(
          a!isNotNullOrEmpty(property(fv!item, "C26", null())),
          fv!item,
          {}
        )
      )
    )

Children
No Data