CDT manipulation

If we need to update a value like status in cdt (multiple) with condition only update only where status =1

Is there a way to achieve this using updatearray and index or is the only option recreating cdt using a!foreach ?

  Discussion posts and replies are publicly visible