i.e. If my file is blahblah.doc it will return "doc"?
One of the steps in my workflow is to say "the document uploaded was a %whatever the filetype is%" is there a variable that does this?
Hi Arthur Pan,
There is no inbuilt file type variable but you can extract the extension from the file name.
Use regular expression in the workflow. The Pattern would be :
Use the operation Extract. In the input text, use the filename. This will give you the required extension with '.'. Hope it helps.
Hi Arthur Pan
As an update to this you can use a set variable action, set the Equals drop down to List Lookup, Source to Current item and the field to Type.
This will give you the file type.
Hope this helps