Concat Transform

Morning,

I’m traing to create a transform using this json, but the Preview isnt work:

{
    "name": "Cria Login Terceiro",
    "type": "concat",
    "attributes": {
        "values": [
            {
                "type": "static",
                "attributes": {
                    "value": "T"
                }
            },
            {
                "type": "leftPad",
                "attributes": {
                    "padding": "0",
                    "length": "8",
                    "input": {
                        "type": "accountattribute",
                        "attributes": {
                            "sourceName": "Base",
                            "attributeName": "matricula"
                        }
                    }
                }
            }
        ]
    }
}

Someone have idea why it’s not work? Could you help me?

Hello @reinajss,

The transform looks good except for the type of the second value to concatenate. The type needs to be camel-case accountAttribute.

Try out the transform below and let me know if you have any other issues!

{
	"name": "Cria Login Terceiro",
	"type": "concat",
	"attributes": {
		"values": [
            {
				"type": "static",
				"attributes": {
					"value": "T"
                }
            },
            {
				"type": "leftPad",
				"attributes": {
					"padding": "0",
					"length": "8",
					"input": {
						"type": "accountAttribute",
						"attributes": {
							"sourceName": "Base",
							"attributeName": "matricula"
                        }
                    }
                }
            }
        ]
    }
}
1 Like

Hi Tayler,
thanks a lot man, I’m new to this sailpoint universe, but I’m learning one step at a time. thank you very much for the help, now the “concat” worked correctly.

Thanks one more time.

1 Like