UUID in identity attribute

Hello everyone.
I would like to define an identity attribute to store the ID of own identity for example: ID = 288c713753a543709b04491d33cca3f7
however, I don’t know how I can get this value. This is in order to send it as an attribute in the creation of an account in the target system.

Is there any way to do it?

Thanks in advance.
Best regards!

Hello @GilbertoOledo14 ,

Good Day !

Which type of application is your target application ?

Thank you !

Hi @GilbertoOledo14 ,
This should work

{
   
    "name": "IdNowID",
    "type": "static",
    "attributes": {
        "value": "#set($id = $identity.getId())$id"
    },
    "internal": false
}

(Need to be tested)
More details on Identity Attribute Context in Transforms: Identity Attribute Context in Transforms | SailPoint Developer Community

3 Likes

Hello, @sidharth_tarlapally
The target application is PingOne

Thanks, I will try it out and share updates through this post.

Thank you for your help, @gourab . The transformation worked as expected.
I have an additional question, is there any way to do it without having to create an attribute in the identity, that is, through the “Generator” option in “Create Account” get the same ID?

Hi @GilbertoOledo14 ,
As you confirmed it is working so it is already uploaded to your tenant . So you can directly use like this in create policy and you don’t need identity attribute

{
            "name": "your attribute name",
            "transform": {
                "type": "reference",
                "attributes": {
                    "id": "Your Transform Name"
                }
            },
            "attributes": {},
            "isRequired": false,
            "type": "string",
            "isMultiValued": false
        }
1 Like

Thank you for all your support.
Best regards!

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