check if data file value is a string before returning it w/ burnettk

This commit is contained in:
jasquat 2023-03-29 16:49:33 -04:00
parent 925e784dca
commit 2feaf68132
No known key found for this signature in database
1 changed files with 2 additions and 1 deletions

View File

@ -279,7 +279,8 @@ class ProcessInstanceService:
yield (identifier, list_value, list_index) yield (identifier, list_value, list_index)
if isinstance(list_value, dict) and len(list_value) == 1: if isinstance(list_value, dict) and len(list_value) == 1:
for v in list_value.values(): for v in list_value.values():
yield (identifier, v, list_index) if isinstance(v, str):
yield (identifier, v, list_index)
@classmethod @classmethod
def file_data_models_for_data( def file_data_models_for_data(