Application name / getApplication().getName() vs. Source display name for SAP HR/HCM source

:bangbang: Please be sure you’ve read the docs and API specs before asking for help. Also, please be sure you’ve searched the forum for your answer before you create a new topic.

Hi erveryone,

I’m working with Identity Attribute rules and Velocity-based transforms in Identity Security Cloud and I’m confused about how the application name is derived for a SAP HR/HCM source.

My situation:

  • In the Sources UI I have exactly one SAP HR/HCM source, with display name“HR”.

  • In the Identity UI (Accounts tab), this source is shown as something like:
    HR: SAP HR/HCM

  • However, when I use a transform with identity.getLinks() and call:

    $link.getApplication().getName()

    I do not see HR as the application name. Instead, I get:
    SAP [source]

My questions:

  1. How exactly is application.getName() / link.getApplication().getName() populated for a source in ISC?

  2. In my case, why would the Identity UI show the source as HR: SAP HR/HCM while getApplication().getName() returns SAP [source]?

  3. What is the recommended, stable value to use as applicationName in cloud rules (e.g. idn.getAllAccounts(applicationName, identityName)) and in transforms (getLinksByAppIdOrName) when I want to uniquely target this special source, with name “HR”?

  4. If I later add another SAP HR/HCM source, how can I reliably distinguish both sources in rules/transforms? If the application name doesn’t include my given name.

It feels like the value I see in the UI for the HR source (HR: SAP HR/HCM) does not match what getApplication().getName() returns (SAP [source]), and I want to understand if this is expected behaviour or a misconfiguration on my side.

Any clarification from SailPoint or from someone who has worked with SAP HR/HCM sources and Identity Attribute rules/Velocity transforms would be greatly appreciated.

Thanks in advance!

Hi @ChristinaLindenberg ,

Could you please call the API to retrieve the source by ID and verify whether the name and cloudDisplayName values are the same? In many cases, these values differ, which can lead to the error you are currently encountering.
Thanks

Hi @suraj_gorle,

I have tested this before:

“cloudDisplayName”: “HR”,

"name": "HR",

Both are set to “HR”