We need to handle trailing spaces at the beginning and end of a string. I am currently using a trim operation transform, but it only works when a static input is provided. When I pass an identity or account attribute, the spaces are not removed. Can you help me understand why this issue occurs and how to resolve it?
Have you tried using the account attribute? In most cases, avoid using identity attributes, as the identity attribute calculation jobs will run in parallel.
Try using the template given below:
Check the attribute name and source name is correct and also should have some values. Also, make sure that, those values are populated correctly.
I cannot take it from source because data is not good. I am removing unwanted strings with replace transform and tag it to firstname attribute. So we need to read from identity Attribute only.
For testing purpose i have tested it with source attribute but not working.
You are using the replace transform for firstName correct. If this is the case, then by referencing that particular transform (firstname transform), you can achieve this.
I have tried in different ways but no luck. Actual values are as expected. In transform no issue but not getting why trim not working for dynamic input. I have open a ticket with SailPoint.
Actual value direct from postman output : "firstName": " August",