I have a workflow in a document library, it was set to start workflow when item created or modified. It worked fine when I added a new document or edited the document property. But if I added the same document again, and overwrite the existing document in the library, change a field value, the workflow started but the item field value was still the old value. I have to pause the workflow for 2 minutes, the field will get the new value in the workflow. Just wondering if this is an issue with my own environment or anybody had this experience.
I did further test and found out only the PDF file has this problem. Word file is fine, its updated field value is available right away once it is updated. For a PDF file, if I add a the same document again by clicking "new document " link, make change to a lookup dropdown field, overwriting the existing document, save it, the new value from the dropdown field is not available in workflow right away. It has the old value. strange.