I am trying to write a transform which can remove the space from account attribute of a source and then I could concat the those account attribute in a certain format
Hi @jyghosh ,
you can use replaceAll transform
“type”: “replaceAll”,
“attributes”: {
"table": {
"\\s+": ""
},
and concat transform
{
“name”: “Transform Name”,
“type”: “replaceAll”,
“attributes”: {
“table”:{ “\s+”:“”},
}
Refer below link
If you are looking to remove the end spaces then you can use this transform before you use concat transform
Hi @jyghosh
Better if you can give the input and expected output sample data scenarios, even we can test and give you the complete transform.
Please explore basic transforms which are building blocks , later we can achieve complex data scenarios by tweaking and testing throughly.
"type": "concat"
basic examples:
Concatenation | SailPoint Developer Community
"type": "trim"
Note:
trim – withtrim
you can only remove leading and trailing spaces.