cancel
Showing results for 
Search instead for 
Did you mean: 
Workflow Hero

Is there a filetype variable in Nintex workflow?

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?

Labels: (1)
0 Kudos
Reply
3 Replies
Workflow Hero

Re: Is there a filetype variable in Nintex workflow?

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 : \.([A-Za-z0-9]+)$

Use the operation Extract. In the input text, use the filename. This will give you the required extension with '.'. Hope it helps.

Accept as Solution Reply
Workflow Hero

Re: Is there a filetype variable in Nintex workflow?

Thanks Kapil!  I highly appreciate this!

0 Kudos
Accept as Solution Reply
Workflow Hero

Re: Is there a filetype variable in Nintex workflow?

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

Accept as Solution Reply