Filter Rule Error

Which IIQ version are you inquiring about?

8.4p1

We have a rule that can read types of bundles and generate a report. I am trying to modify the code to include another bundle type, but it is not generating any data. Does anyone have any advise?

Map newRoleEntMap = new HashMap();
QueryOptions qo = new QueryOptions();
qo.addFilter(Filter.eq("type", "IT"));
qo.addFilter(Filter.eq("type", "Org"));

@Alyson_Trad

check this thread

Business Roles Custom Report - IdentityIQ (IIQ) / IIQ Discussion and Questions - SailPoint Developer Community

Creating a Role/Bundle Filter - IdentityIQ (IIQ) / IIQ Discussion and Questions - SailPoint Developer Community

 Filter orFilter = Filter.or(entFilt1,Filter.or(entFilt2,entFilt3)); // here you can add more types in or Filter
1 Like

@Alyson_Trad , try below

List roleTypes=new ArrayList();
roleTypes.add("IT");
roleTypes.add("Org");

qo.addFilter(Filter.in("type",roleTypes));
1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.