However, in a workflow state action Edit Metadata, the same does not evaluate {{ workflow_instance.document.file_latest.file_metadata_value_of.exiftool__custominvoicenumber }}.
I am assuming that EXIF metadata is not available on âdocument createdâ?
Yes, that is correct.
In order to support scaling to millions of documents, most operations in Mayan are asynchronous working as background tasks in advanced task dependencies pipelines.
To fix your workflow have it transition to the second state using a transition trigger from the event âFile metadata.Document file file metadata processing finishedâ.