levilentz commented on a change in pull request #5444:
URL: https://github.com/apache/nifi/pull/5444#discussion_r745273975



##########
File path: 
nifi-nar-bundles/nifi-jolt-record-bundle/nifi-jolt-record-processors/src/main/java/org/apache/nifi/processors/jolt/record/JoltTransformRecord.java
##########
@@ -234,7 +235,7 @@
     protected Collection<ValidationResult> customValidate(ValidationContext 
validationContext) {
         final List<ValidationResult> results = new 
ArrayList<>(super.customValidate(validationContext));
         final String transform = 
validationContext.getProperty(JOLT_TRANSFORM).getValue();
-        final String customTransform = 
validationContext.getProperty(CUSTOM_CLASS).getValue();
+        final String customTransform = 
validationContext.getProperty(CUSTOM_CLASS).evaluateAttributeExpressions().getValue();

Review comment:
       Updated logic for variable registry.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to