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>)
Optional Parameter: useLocaleFormatting [bool]: allows returning fields of type Date/DateTime/Number/Currency/Percent in the user’s locale format. translate to french
Usage: var Task = GetDataByID(GetRecordGUID(),”Task”, “Id,Name,Start,End,Description,Location,Attendees,OwnerId”);Or
var Task= GetDataByID(1332647461507827571,”Task”,”Id,Name,Start,End,Description,Location,Attendees,OwnerId”);Output:Success:The object can be used like this:- Task.Id- Task.NameFailure:An error message will be displayed