You need to sign in to do that
Don't have an account?

CaseTeamRole query not returning any values in SOQL even though the values are present.
There is a very interesting problem that I am seeing. The below soql
select Id,name from CaseTeamRole returns 2 rows
IdName
10B71a000000PBGRCA4Contributor
20B71a000000PBGWCA4Read Only
where as
the soql
select Id,name from CaseTeamRole name = 'Contributor' returns 0 rows.
The happens only our full sandbox and on production our queries execute perfectly fine.
Has anyone faced such an issue ? Need help in resolving it.
select Id,name from CaseTeamRole returns 2 rows
IdName
10B71a000000PBGRCA4Contributor
20B71a000000PBGWCA4Read Only
where as
the soql
select Id,name from CaseTeamRole name = 'Contributor' returns 0 rows.
The happens only our full sandbox and on production our queries execute perfectly fine.
Has anyone faced such an issue ? Need help in resolving it.
Edit the CaseteamRole 'Contributor' and Save it again
I already tried that but it didnt help.
Weird part is the following query returns the 'Contributor' row
select Id,name from CaseTeamRole where name like '%N%'
but not
select Id,name from CaseTeamRole where name like '%C%'
Thanks
Prasanna
Try the below query I think there is some value after Contibutor value.
Thanks,
Alex
Tried the suggesstion, that doesnt work either.
Can this query be done by ID ?
In this way below
I don't know what you really need, but I hope this helps!
Best regards,
Lucas.
I also tried in my org, I'm also getting a same issue. Seems Salesforce bug.
To fix this issue we can do the following, Let me know whether this helps!
Thanks,
Alex