function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
RobbiePRobbieP 

Task Comment field not available in Record Create

I am trying to log a call for the agent at the end of my script, but the Comment field does not appear to be available to assign a value to. Is this by design or is it a bug? I really hate having to create a custom comment field just for the script.

Best Answer chosen by Admin (Salesforce Developers) 
markross__cmarkross__c

That's actually the same as 'Description'. Misleading, I know, but 'Description' is the actual name of the field as far as Salesforce's code is concerned.