This function is used to get the record details based on the record id provided and it returns the data of the field names provided.
- Function: GetDataByID(<Record GUID>, <Object Name>, <Field Names>)
var Task = GetDataByID(GetRecordGUID(),"Task", "Id,Name,Start,End,Description,Location,Attendees,OwnerId");
Orvar Task= GetDataByID(1332647461507827571,"Task","Id,Name,Start,End,Description,Location,Attendees,OwnerId");
The object can be used like this:
An error message will be displayed