Hi Andreia,
my best bet is to use a different approach. Instead of relying on the version use categories. Add two categories one "Draft" one "Finalized". Than you can check if the attachment has been moved to the "Finalized" category. Here's a post from the knowledge base regarding categories:
https://community.webcon.com/posts/post/the-add-attachment-action/156
Of course, I don't know your case, but these are my reasons why I wouldn't rely on the version in a general case:
- The attachment could be changed by a user or by a service account
- A document could be saved without changes
- Against which version should be compared. The version which existed when the step was entered? You would need to ensure, that this won't get updated when the step was entered from a different one.
Best regards,
Daniel