# Reference UI Assigned Identity Attribute in Transforms

**URL:** <https://developer.sailpoint.com/discuss/t/reference-ui-assigned-identity-attribute-in-transforms/87190>\
**Category:** SHF Discussion and Questions\
**Tags:** transforms, identity-profiles, identity-security-cloud\
**Created:** [October 28, 2024, 3:20pm UTC](https://developer.sailpoint.com/discuss/t/reference-ui-assigned-identity-attribute-in-transforms/87190 "2024-10-28T15:20:32Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![asmith](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/asmith/32/6661_2.png) [@asmith](https://developer.sailpoint.com/discuss/u/asmith)\
**Post date:** [November 7, 2024, 5:24pm UTC](https://developer.sailpoint.com/discuss/t/reference-ui-assigned-identity-attribute-in-transforms/87190/6 "2024-11-07T17:24:34Z")

</div>

We ended up utilizing one transform with logic similar to the way recommended in this post [Lookup Transform - Default Value - #10 by nsorlien](https://developer.sailpoint.com/discuss/t/lookup-transform-default-value/87375/10)

Taking the [Substing](https://developer.sailpoint.com/docs/extensibility/transforms/operations/substring/) functionality of taking the implicit input we were able to reference those values in our final output value.

```auto
{
    "name": "employmentCheck",
    "type": "static",
    "attributes": {
        "lifecycle": {
            "type": "reference",
            "attributes": {
                "id": "Workday Lifecycle"
            }
        },
        "empValue": {
            "type": "firstValid",
            "attributes": {
                "values": [
                    {
                        "attributes": {
                            "begin": 0
                        },
                        "type": "substring"
                    },
                    "none"
                ]
            }
        },
        "value": "#if($lifecycle == 'activestudent')#{else}$empValue#end"
    },
    "internal": false
}

```

---

_[View the full topic](https://developer.sailpoint.com/discuss/t/reference-ui-assigned-identity-attribute-in-transforms/87190)._
