Help

Add to a multi select on a linked record

Topic Labels: Automations
484 0
cancel
Showing results for 
Search instead for 
Did you mean: 
Frank_P
4 - Data Explorer
4 - Data Explorer

I am passing in the id of a linked record from a trigger, and I want to add to a multi select. How can I use push() or get the existing values of the field and add to them? This is as far as I could get.

let inputConfig = input.config();
console.log(`${inputConfig.recordid}`);

let table = base.getTable("Individual Inventory");
let field = table.getField("Tags");

let rec = inputConfig.recordid;
console.log(`${rec}`);

await table.updateRecordAsync(
      rec[0], {
          Tags : 
  });
0 Replies 0