Hi,
I wanted to list roles with filter so I wrote the parameters
but it keeps returning the failure response:
"Unable to locate Attribute with the the given name [countPrincipals] on this ManagedType [com.automationanywhere.common.model.Identity]"
It seems there's nothing wrong with countPrincipals object according to this document:
Could you please check why it fails?
note: The below is what I wrote as a parameter
{
"sort":[],
"filter":{
"operator":"and",
"operands":[
{
"operator":"eq",
"field":"systemRole",
"value":false
},
{
"operator":"eq",
"field":"countPrincipals",
"value":1
}
]
},
"fields":[],
"page":{
"offset":0,
"length":1000
}
}