You can create an identity attribute to store and apply transform in it
"attributes": {
"input": "The quick brown fox jumped over 10 lazy dogs",
"regex": "[^a-zA-Z]",
"replacement": ""
},
"type": "replace",
"name": "Replace Transform"
}
Input: "The quick brown fox jumped over 10 lazy dogs"
Output: "Thequickbrownfoxjumpedoverlazydogs"
type or paste code here
@schattopadhy 's transform uses the replace operation, which can work in this scenario, although you will need to change the regex to match your specific criteria.
@jesvin90 's transform is probably closer to what you want since it will account for empty values and it will strip out the last set of characters, which in your case would be the employee ID.
The transform works well, and I can see the manager’s name in the identity profile preview, but it is not shown in the identity details tab.
I unmapped the manager name in the identity profile and mapped it back, and I ran the aggregation multiple times, but the manager name was not populated.
You will need to setup the manager correlation as mentioned in my earlier response to get the field populated.
You can either extract the manager ID value instead of manager name and setup the correlation or if you get the manager ID directly, correlation can be mapped against that value.
I created a custom correlation identity attribute with a display name and employee number contact and mapped the manager correlation. Now, I can see the manager name in the details tab.