# Transform that has $ sign in its output? Can't seem to escape $ sign

**URL:** <https://developer.sailpoint.com/discuss/t/transform-that-has-sign-in-its-output-cant-seem-to-escape-sign/124956>\
**Category:** SHF Discussion and Questions\
**Tags:** transforms, identity-security-cloud\
**Created:** [May 5, 2025, 9:12pm UTC](https://developer.sailpoint.com/discuss/t/transform-that-has-sign-in-its-output-cant-seem-to-escape-sign/124956 "2025-05-05T21:12:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ccarlton](https://avatars.discourse-cdn.com/v4/letter/c/46a35a/32.png) [@ccarlton](https://developer.sailpoint.com/discuss/u/ccarlton)\
**Post date:** [May 5, 2025, 9:12pm UTC](https://developer.sailpoint.com/discuss/t/transform-that-has-sign-in-its-output-cant-seem-to-escape-sign/124956/1 "2025-05-05T21:12:39Z")

</div>

I need to generate an identity attribute value using a transform that needs to have a dollarsign $ in it

I can’t figure out how to escape the $ sign.. \ (double backslash isn’t it).

can anyone provide an example of how to generate a string (using a concat transform) that outputs a value that has a $ sign in it?

---

<div class="post-metadata">

**Author:** ![kalyan\_dev32](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/kalyan_dev32/32/21870_2.png) [@kalyan\_dev32](https://developer.sailpoint.com/discuss/u/kalyan_dev32)\
**Post date:** [May 5, 2025, 9:23pm UTC](https://developer.sailpoint.com/discuss/t/transform-that-has-sign-in-its-output-cant-seem-to-escape-sign/124956/2 "2025-05-05T21:23:56Z")

</div>

Try below Transform:

```auto
{
    "name": "Example Concat",
    "type": "concat",
    "attributes": {
        "values": [
            {
                "type": "static",
                "attributes": {
                    "value": "Hello"
                }
            },
            " World!"
        ]
    },
    "internal": false
}

```

---

<div class="post-metadata">

**Author:** ![ccarlton](https://avatars.discourse-cdn.com/v4/letter/c/46a35a/32.png) [@ccarlton](https://developer.sailpoint.com/discuss/u/ccarlton)\
**Post date:** [May 6, 2025, 12:01am UTC](https://developer.sailpoint.com/discuss/t/transform-that-has-sign-in-its-output-cant-seem-to-escape-sign/124956/3 "2025-05-06T00:01:54Z")

</div>

Your example doesn’t have a $ sign in it?

To continue with your example, I need the output to have $world in it.

(where $world is not a parameter, its just a string I need in the output.)

---

<div class="post-metadata">

**Author:** ![tyler\_mairose](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/tyler_mairose/32/30112_2.png) [@tyler\_mairose](https://developer.sailpoint.com/discuss/u/tyler_mairose)\
**Post date:** [May 6, 2025, 1:57am UTC](https://developer.sailpoint.com/discuss/t/transform-that-has-sign-in-its-output-cant-seem-to-escape-sign/124956/4 "2025-05-06T01:57:55Z")

</div>

Hey @ccarlton

Apache Velocity which is the underlying helper to transforms has a “escape everything in this block and return it as it’s normal value”

That block is

```auto
#[[]]#

```

In order to use it in a static string or a concat transform you can use it like so:

```auto
{
    "name": "Example Concat",
    "type": "concat",
    "attributes": {
        "values": [
            "#[[$]]#",
            "World!"
        ]
    },
    "internal": false
}

```

This will render `$World!`

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/sailpoint/original/2X/f/f2136700ed5e3703e0b85e02f6be799dacca7735.png) [@system](https://developer.sailpoint.com/discuss/u/system)\
**Post date:** [July 5, 2025, 1:58am UTC](https://developer.sailpoint.com/discuss/t/transform-that-has-sign-in-its-output-cant-seem-to-escape-sign/124956/5 "2025-07-05T01:58:24Z")

</div>

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