Filerstring in the form field is throwing below error and not able to retrieve results

I am trying to update the FilterString of a field to display active users with inactive AD account.

Below is the screenshot from form xml.

While trying to open the form and click on the field, results are not shown.
Below error message can be seen in logs.

org.hibernate.QueryException: could not resolve property: inactive of: sailpoint.object.Application

Please assist what I am missing?

Divya : Welcome to developers community first !!

Which version of iiq u r working on ?

Did you tried running it in a test rule ? Filter properties differs from iiq versions.

Hi Divya,
QQ:
inactive attribute is defined in account mapping?

Regards,
Arun

Hi @divsubha,

in your case inactive dont exist like attribute. So you can create it or use IIQDisabled attribute.
IIQDisable attribute is the attribute of sailpoint for checking the status of an account.

Also, I think your it won’t work as you want.
You can set a field like identity type, not as a link. So, the filter string work on identity attribute.

You have two way:
The first is mapping the userAccountControl of ad like identity attribute and use something like this without rule/script:
<Field displayName="Manager" filterString="statusinactive== &quot;false&quot; &amp;&amp; adActive == &quot;false&quot;" name="manager" type="sailpoint.object.Identity"/>
with this you a list of identity.

The second is create a filed like string and multivalued with an AllowedValuesDefinition rule. In this rule you need to build a queryoption with a filter on statusinactive, application and iiqDisabled:
image
and populate the field with the result of iterator.

In every case read the documentation:

1 Like

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