How to use for each element deluge?

How to use for each element deluge?


Okay so I need a code to where it fetches all records:
  1. fetch = Add_Subcription[Employee1 == input.Name1];
  2. {
  3. fetch.Date_Cancelled = zoho.currentdate;
  4. fetch.Staus = "Cancelled";
  5. }
like this and updates the fields, as in the code above, but I need to do it for ALL records and I don't know how to write the for each element in deluge or the script writer.  Can somebody write one for me?
 
Thanks,
Michael McNeill