Hello everyone,
I have written the below lookup transform for getting the stored value based on 4 attribute combination but it is not working. can you please help on below transform.
scenario: we need to get the value from lookup using the 4 attributes combination.
{
"id": "2dfd29a3-5a13-47d3-8f8f-9958b7dc3a5a",
"name": "Test_lookup1",
"type": "lookup",
"attributes": {
"type": "concat",
"attributes": {
"value": [
{
"attributes": {
"sourceName": "Test source",
"attributeName": "att1"
},
"type": "accountAttribute"
},
",",
{
"attributes": {
"sourceName": "Test source",
"attributeName": "att2"
},
"type": "accountAttribute"
},
",",
{
"attributes": {
"sourceName": "Test source",
"attributeName": "att3"
},
"type": "accountAttribute"
},
",",
{
"attributes": {
"sourceName": "Test source",
"attributeName": "att4"
},
"type": "accountAttribute"
},
]
},
"table": {
"att1,att2,att3,att4": "test lookup 1",
"att1,att2,att3,att4": "test lookup 2",
"att1,att2,att3,att4": "test lookup 3",
"att1,att2,att3,att4": "test lookup 4",
"default": "Testing"
}
}
}