Skip to content

Commit 1c06ce7

Browse files
committed
NiFi: typo fix parser proccessor.
1 parent c7d6c9f commit 1c06ce7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nifi/user_python_extensions/parse_service_response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def process(self, context: ProcessContext, flowFile: JavaObject) -> FlowFileTran
135135
_record[k] = v
136136

137137
if self.document_id_field_name in _record:
138-
additional_attributes[self.document_id_field_name] = _record[self.document_id_field_name]
138+
additional_attributes[self.document_id_field_name] = str(_record[self.document_id_field_name])
139139

140140
output_contents.append(_record)
141141

0 commit comments

Comments
 (0)