'Identity Profile' name or 'source' name of an identity in a Transform JSON

Hi,
How could we get the ‘Identity Profile’ name or ‘source’ name of an identity in a Transform JSON similar to how we’re requesting the ‘cloudStatus’ and ‘id’ undocumented identity attributes?

Thanks in avance,

Dimitri

If each of the Identity Profiles have a unique Authoritative Source without overlap of users, you could have a firstValid on each source, then depending on which source the user has, the value would be the Identity Profile or source name.

Example:

{
    "name": "Identity Profile",
    "type": "static",
    "attributes": {
        "workday": {
            "type": "firstValid",
            "attributes": {
                "values": [
                    {
                        "type": "accountAttribute",
                        "attributes": {
                            "sourceName": "Workday",
                            "attributeName": "USERID"
                        }
                    },
                    "NONE"
                ]
            }
        },
        "servicenow": {
            "type": "firstValid",
            "attributes": {
                "values": [
                    {
                        "type": "accountAttribute",
                        "attributes": {
                            "sourceName": "ServiceNow",
                            "attributeName": "sys_id"
                        }
                    },
                    "NONE"
                ]
            }
        },
        "value": "#if($workday != 'NONE')Employees#elseif($servicenow != 'NONE')Non-Employees#{else}Unknown#end"
    }
}

Hi Edward,

That is a quite indirect way (nevertheless your proposed workaround is working, thanks for an idea) we wish to avoid.

I found finally the hidden identity attribute name that returns an identity authoritative source long id directly:

{
  "attributes": {
    "name": "cloudAuthoritativeSource"
  },
  "type": "identityAttribute",
  "id": "Identity_sourceId"
}

It is a similar way to how we could use another hidden identity attribute ‘cloudStatus’ for new company jouners if they did not register in IDN, their alternativeEmail value will be replaced by Transform to their manager email helping a company with onboaring process.

There is also a case when we need to get an identity long id in Transform that is useful for example as IDN master correlation criteria at a ‘helper’ custom connector.

{
  "attributes": {
    "name": "id
  },
  "type": "identityAttribute",
  "id": "Identity_id"
}

With kind regards,
Dimitri

1 Like

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