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
Saju NathSaju Nath 

Trying to change the data type of the field from Text to Picklist

Hi All,

While trying to change the data type of the field from text to picklist, i am facing the issue as show below

There were custom validation error(s) encountered while saving the affected record(s). The first validation error encountered was "Cannot change field type of a custom field referenced in Apex class or trigger: <a href="/01pG0000002ttC6">GAQReport_TestClass</a>". 

Can you please suggest me how to over come this issue or any other alternative way to fix it.

Thanks in Advance.