I have a need to make an internal web service return a value.
From the blog link above, I succeeded in creating internal web service that are capable of targeting a specific record in a table, updating fields such record, read fields from the record, and writing to console.
var thisIncident = Get('Incident#', '$(CurrentUserRecId())');
var rtnVal = thisIncident.Fields.LogInID;
This threw the following exception:
How do I make internal web services return a value?