diff --git a/src/documents/signals/handlers.py b/src/documents/signals/handlers.py index 407735375..21ea76836 100644 --- a/src/documents/signals/handlers.py +++ b/src/documents/signals/handlers.py @@ -784,10 +784,10 @@ def run_workflows( field=field, document=document, ).first() - if instance: + if instance and args[value_field_name] is not None: setattr(instance, value_field_name, args[value_field_name]) instance.save() - else: + elif not instance: CustomFieldInstance.objects.create( **args, field=field,