Salesforce Fact #420 | Query CaseTeamMember and CaseTeamRole in test class

Do you know we can query records from CaseTeamRole object irrespective of seeAllData setting in test class. However, for CaseTeamMember we need to create records in test class. The existing org records are not automatically available.

Attached are the screenshots.





Comments

Popular posts from this blog

Salesforce Fact #192 | Call batch apex from flow

Salesforce Fact #457 | Get current user role name in flow