You need to sign in to do that
Don't have an account?
Ragul M
SOQL for ApexTrigger filtered on Name field returns no results
**querying all my trigger name**
[![enter image description here][1]][1]
**filtering by specific name. But no result found ?**
[![enter image description here][2]][2]
***what is that I am missing ?***
**Note: Same query works perfectly in production**
[1]: https://i.stack.imgur.com/3pAqO.png
[2]: https://i.stack.imgur.com/dHWDa.png
[![enter image description here][1]][1]
**filtering by specific name. But no result found ?**
[![enter image description here][2]][2]
***what is that I am missing ?***
**Note: Same query works perfectly in production**
[1]: https://i.stack.imgur.com/3pAqO.png
[2]: https://i.stack.imgur.com/dHWDa.png
filtering by specific name. But no result found ?
what is that I am missing ?
**Note: Same query works perfectly in production**
As mentioned in the StackExchange post,
https://salesforce.stackexchange.com/questions/409656/soql-for-apextrigger-filtered-on-name-field-returns-no-results/409748#409748
The Salesforce Product team has filed bug #W-14050962 internally regarding the inconsistent query result on ApexTrigger post-Winter24 release and is working on priority to address this.
Basically, Triggers created before Winter 24 release are not queryable by Name field. There is no known issue created for this scenario at the moment. I will update the Stackexchange thread as I have an ETA on the fix.
If this information helps, please mark the answer as best so it can help others too. Thank you