AnsweredAssumed Answered

Property not updated when uploading file

Question asked by slyfox on Jul 13, 2017
Latest reply on Jul 24, 2017 by emha

I have a document library where I added one numerical field Days with default value = 3. No versioning, no approval, no managing content types.
I created a workflow that  start on item created and item modified.
The workflow has only one action -- log history value of the field Days.
When I upload a document and change the value of the field Days to 5 in the dialog, the workflow still shows the default value of 3.
The workflow works fine on item modified if I use the dialog "modify properties".
I understand that uploading a document is 2-step internal process: adding and then editing properties. This is by design to be able upload multiple files and skip validation for required fields.
However, this behavior looks very counterintuitive.
What would be suggestion or workaround ?