I want to assign the value of Standard field 'NewValue' of the object 'CaseHistory' to a TEXT type field of another custom object. Is it possible ? The datatype of 'NewValue' field is 'anyType' as per the below link.
And if I try to assign the 'NewValue' field value to any other TEXT type custom field like (CSHU.New_Status_Value__c = CH.NewValue;) then it throws me error saying:
Error: Compile Error: Illegal assignment from Object to String