Static Transform Issues with Explicit Input

Hi Team, I am trying out one transform which on Identity profile level, This flag is just to calculate the value based on email but I tried this one and it’s not showing any of the value, what I understood that there should be source and attribute value, my case don’t have any implicit value which I can provide it from Schema, I used Explicit Input Approach, I am just trying to set the flag and both of the attributes are available at identity level attributes.

    "name": "Entra-EmailTestingTransform",
    "type": "static",
    "attributes": {
	"input" :{
        "IsempExist": {
            "type": "identityAttribute",
            "attributes": {
                "name": "email"
            }
        }
		}
    },
    "value": "#if($IsempExist != null)true#{else}false#end"
}```

Hello @LearningStar,

I don’t see an input attribute for Static Transform. We can directly define variables within the attributes scope itself, so an input attribute isn’t necessary.

You can try the following transform:

{
  "name": "dev_transform",
  "type": "static",
  "attributes": {
    "IsempExist": {
  "type": "firstValid",
  "attributes": {
    "values": [
      {
        "attributes": {
          "name": "email"
        },
        "type": "identityAttribute"
      },
      "null"
    ]
  }
},
    "value": "#if($IsempExist != 'null')true#{else}false#end"
  }
}

Ref:Static | SailPoint Developer Community

Thanks
Sid

Static transforms doe snot have input. In fact on the Attributes you declare each “variable” with its own name.