Here is all the text in my csv:
assignUsersToRole,Role Name,assignedType,assignedValue
assignUsersToRole,Client Group - Birthright Access,COMPLEX_CRITERIA,“{”“operation”“:”“AND”“,”“key”“:null,”“stringValue”“:null,”“children”“:[{”“operation”“:”“EQUALS”“,”“key”“:{”“type”“:”“IDENTITY”“,”“property”“:”“attribute.division”“,”“sourceId”“:null},”“stringValue”“:”“Client Group”“,”“children”“:null},{”“operation”“:”“EQUALS”“,”“key”“:{”“type”“:”“IDENTITY”“,”“property”“:”“attribute.employeeType”“,”“sourceId”“:null},”“stringValue”“:”“E”“,”“children”“:null},{”“operation”“:”“OR”“,”“key”“:null,”“stringValue”“:null,”“children”“:[{”“operation”“:”“EQUALS”“,”“key”“:”“@{type=IDENTITY;property=attribute.cloudLifecycleState;sourceId=}”“,”“stringValue”“:”“prehire”“,”“children”“:null},{”“operation”“:”“EQUALS”“,”“key”“:”“@{type=IDENTITY;property=attribute.cloudLifecycleState;sourceId=}”“,”“stringValue”“:”“active”“,”“children”“:null},{”“operation”“:”“EQUALS”“,”“key”“:”“@{type=IDENTITY;property=attribute.cloudLifecycleState;sourceId=}”“,”“stringValue”“:”“preLeaver”“,”“children”“:null},{”“operation”“:”“EQUALS”“,”“key”“:”“@{type=IDENTITY;property=attribute.cloudLifecycleState;sourceId=}”“,”“stringValue”“:”“legalhold”“,”“children”“:null}]},{”“operation”“:”“CONTAINS”“,”“key”“:{”“type”“:”“ACCOUNT”“,”“property”“:”“attribute.distinguishedName”“,”“sourceId”“:”“0d28e85c5fe34f8b86a14c1074d40d97"”},““stringValue””:““com””,““children””:null}]}"
And this is what the criteria looks like when I pull it from the beta/roles API. It has indentation which isn’t showing when pasting it here so I’ve added a screenshot.
“{
““operation””: ““AND””,
““key””: null,
““stringValue””: null,
““children””: [
{
““operation””: ““EQUALS””,
““key””: {
““type””: ““IDENTITY””,
““property””: ““attribute.division””,
““sourceId””: null
},
““stringValue””: ““Client Group””,
““children””: null
},
{
““operation””: ““EQUALS””,
““key””: {
““type””: ““IDENTITY””,
““property””: ““attribute.employeeType””,
““sourceId””: null
},
““stringValue””: ““E””,
““children””: null
},
{
““operation””: ““OR””,
““key””: null,
““stringValue””: null,
““children””: [
{
““operation””: ““EQUALS””,
““key””: “”@{type=IDENTITY; property=attribute.cloudLifecycleState; sourceId=}”“,
““stringValue””: ““prehire””,
““children””: null
},
{
““operation””: ““EQUALS””,
““key””: “”@{type=IDENTITY; property=attribute.cloudLifecycleState; sourceId=}”“,
““stringValue””: ““active””,
““children””: null
},
{
““operation””: ““EQUALS””,
““key””: “”@{type=IDENTITY; property=attribute.cloudLifecycleState; sourceId=}”“,
““stringValue””: ““preLeaver””,
““children””: null
},
{
““operation””: ““EQUALS””,
““key””: “”@{type=IDENTITY; property=attribute.cloudLifecycleState; sourceId=}”",
““stringValue””: ““legalhold””,
““children””: null
}
]
},
{
““operation””: ““CONTAINS””,
““key””: {
““type””: ““ACCOUNT””,
““property””: ““attribute.distinguishedName””,
““sourceId””: ““0d28e85c5fe34f8b86a14c1074d40d97"”
},
““stringValue””: ““com””,
““children””: null
}
]
}”