Vadim Tabakman

Some of you may be aware of a post from Microsoft that describes what is and isn't allowed for text in Site names, Folder names and File names : http://support.microsoft.com/kb/905231 

I thought it would be a good bit of logic to make into a User Defined Action in Nintex Workflow as it would make it very reusable and would make your workflows more robust.  This UDA would take an some text, an identifier of whether you are going to use it for a Site Name, Folder Name or File Name and would also take a variable which will be where the output "valid" text will go.

The UDA looks like this :

UDA Design

From the design above, you can see that the UDA firstly does a Switch.  This means it decides which branch of workflow logic it needs to go down, based on the type of fixing it needs to do.

0 - Site Name

1 - Folder Name

2 - File Name

To test out this type of UDA, I created a test workflow to try the UDA for a Site name, Folder and File name.

Workflow Design

Examples

SharePoint won't allow you to have a filename with a ".files" extension.

So if you have a filename like "start.docx.files" and you ran it through this UDA, you would end up with : start.docx

Downloads

 Nintex Workflow 2010: Version 2.3.8.0

 User Defined Action: Download User Defined Action (.UDA)

 Test Workflow Design: Download a Test Nintex Workflow (.NWF)

Posted by Vadim Tabakman Tuesday, May 14, 2013 11:41:00 PM Categories: Nintex Workflow Regular Expression Switch
Copyright Vadim Tabakman
Rate this Content 0 Votes

Comments

Monday, September 16, 2013 3:32:51 PM
Garrett

re: Nintex Workflow - Fix Names UDA

Very useful! Thanks for sharing :)

Monday, September 16, 2013 5:36:54 PM

re: Nintex Workflow - Fix Names UDA

Thanks for the comment Garrett.  Let me know if there's something you'd like me to post about that helps you out.

cheers,

Vadim

You must sign in to this site to post comments.
Already Registered?
Sign In
Not Yet Registered?
Register





 

Statistics

  • Entries (246)
  • Comments (1725)

Categories