I have to download an attachment from a workflow that has instances.
As a rule, I want to download the latest file attached to the website.
The only reference I have in the selector is parentid.
webctrl aaname=‘[EXCEL File]’ parentid=‘anexo-870185’ tag=‘SPAN’ /> - This is the file I want
webctrl aaname=‘[EXCEL File]’ parentid=‘anexo-867649’ tag=‘SPAN’ />
How can I get the last attachment?