pvillard31 commented on a change in pull request #5135:
URL: https://github.com/apache/nifi/pull/5135#discussion_r647219125
##########
File path:
nifi-nar-bundles/nifi-gcp-bundle/nifi-gcp-processors/src/main/java/org/apache/nifi/processors/gcp/bigquery/PutBigQueryBatch.java
##########
@@ -257,17 +257,19 @@ public void onTrigger(ProcessContext context,
ProcessSession session) throws Pro
}
final String projectId =
context.getProperty(PROJECT_ID).evaluateAttributeExpressions().getValue();
+ final String designateProjectId =
context.getProperty(DESIGNATE_PROJECT_ID).evaluateAttributeExpressions().getValue();
Review comment:
```suggestion
final String designateProjectId =
context.getProperty(DESIGNATE_PROJECT_ID).evaluateAttributeExpressions(flowFile).getValue();
```
I believe this is required since you defined FlowFile Attributes scope in
the property definition.
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]