I have a requirement where attribute value has to be reversed and extract part of the string.
Reverse value transform is not present as out of the box functionality.
This is key value pair separated by colon( and each value is separated by ~. Basically this is org hierarchy and wanted to fetch value extract 3rd occurrence of ~
i.e. GH.
For this i think you will have to make use of velocity template language in static transform. You can read the attribute value and pass it as an input to static transform and then in “value” key, you can try to write the VTL code to reverse the string and then use substring transform to extract the require value.
I would advice to use the account attribute instead of using the identity attribute value, because by seeing example input in the question, there could be challenges in storing such a long value in another identity attribute due to the length constraints on identity attributes.
Please let me know if you have any issues in implementing it.
Can you describe your problem a little better? It’s not clear what you’re trying to achieve with the reverse string and how your example outputs GH.