Attribute Calculation -

Hi All,

I am getting an error while calculating the attribute value for an identity. The same works in production environment without issues. I have added the attributes and made them searchable via API’s.

There was an exception while calculating the value for this attribute. Error running account attribute transform for attribute ‘null’ on identity ‘null’ :java.lang.IllegalStateException: Unable to resolve id for application.Filters: Filter [1] == type != “Logical” Filter [2] == extended2 == “Active Directory” , Scope extensions: none defined,scope results [null],unscoped globally accessible [null],Ordering ==,Group by == ,Query [null],ResultLimit [-1],First Row [0],Distinct [false],Cache results [false],Flush before query [false]

@KirtiSikarwar, can you share the transform?

1 Like

Hi Mark,
Below is the transform.

{
  "name": "AD Privileged sAMAccountName Concat Transform",
    "type": "concat",
    "attributes": {
        "values": [
            {
                "attributes": {
                    "sourceName": "Active Directory",
                    "attributeName": "sAMAccountName"
                },
                "type": "accountAttribute"
            },
            "_admin"
        ]
    },
    "internal": false
}

thanks! my guess is that this is failing because you have a non-zero number of identities that don’t have an account in that Active Directory source. can you putting that accountAttribute transform inside a FirstValid transform with a second case, so that it doesn’t error on nulls?

this should do it:

{
    "name": "AD Privileged sAMAccountName Concat Transform",
    "type": "concat",
    "attributes": {
        "values": [
            {
                "attributes": {
                    "values": [
                        {
                            "attributes": {
                                "sourceName": "Active Directory",
                                "attributeName": "sAMAccountName"
                            },
                            "type": "accountAttribute"
                        },
                        "error"
                    ]
                },
                "type": "firstValid"
            },
            "_admin"
        ]
    },
    "internal": false
}

@KirtiSikarwar - any luck with this?

Hi Mark,

Upon rechecking the issue was more on the data coming through, once we corrected that it worked. Since its sandbox, we have changed the data quite a bit.

Regards,
Kirti

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