How to get the filename of attachment?

thank you aksh,

i got the following error when i had tested your workflow:

it did not find GetFileNameWithoutExtension method!