You can add a setValue and use the getDocAttribute method to get some attributes about the document variable that contains the file that was dropped.
/process_data/@tmpString = getDocAttribute(/process_data/@docXML, "basename")
thank you Jasmin, your answer is correct and now it works!
only I don't understand why my way didn't work...
Instead of a setValue, I used directly a INSERT SQL activity with getDocAttribute(/process_data/@docXML, "basename") as parameter: as is, it didn't work!
As you suggest, if I put a setValue between the Watched folder startpoint and the INSERT SQL activity (now with the populated string as parameter), it works...
Thank you again!
It could be a bug with the SQL operation.
I think your solution should have worked.