Help

Upcoming database upgrades. to improve our reliability at 03:30 UTC on Feb. 25 / 7:30pm PT on Feb. 24. Some users may briefly experience slow load times or error messages. Learn more here

Retrieve record name by it's id

Topic Labels: Automations
606 1
cancel
Showing results for 
Search instead for 
Did you mean: 

Hello everyone!

Is it possible to retrieve the record name having it’s id without the need of requesting the whole table which contains this record? By other words, if I know there is an object {id: “something”, name: “something other”} and I can get it’s properties

let obj = {id: 1, name:"object name"};
console.log(obj.id, obj.name);

Can I make a reverse? Say, I know recordID, it has a unique value. Can I retrieve the name belonging to this recordID?

Thanks in advance.

1 Reply 1

Scripting now lets you request a single record by id with selectRecordAsync (note the singular Record). See the documentation for details.