Enhancement: support assigning custom field values in workflows (#9272)

This commit is contained in:
shamoon 2025-03-05 12:30:19 -08:00 committed by GitHub
parent 89e5c08a1f
commit edc7181843
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 605 additions and 175 deletions

View file

@ -1471,7 +1471,10 @@ class PostDocumentView(GenericAPIView):
created=created,
asn=archive_serial_number,
owner_id=request.user.id,
custom_field_ids=custom_field_ids,
# TODO: set values
custom_fields={cf_id: None for cf_id in custom_field_ids}
if custom_field_ids
else None,
)
async_task = consume_file.delay(