There was an exception while calculating the value for this attribute. Error during transformation for attribute: uid (Transform ID: Transform - Username choice) Cause: Error rendering template: #if(!$USER_NAME) $PERSON_NUMBER #else $USER_NAME #end
The problem is in the management of null values I think, because when the USER_NAME attribute is null I get this error. Do you know to manage empty attributes? Thanks in advance
You can use first valid Transform to fulfil your requirement.
For future use cases, where you need to use Static Transform, remember that, every attribute you define inside Static transform should have a value, if not it will throw an exception. So, you should use first valid type Transform for every attribute you declare inside Static Transform.