Quantcast
Channel: Nintex Connect: Unanswered Threads
Viewing all articles
Browse latest Browse all 2462

Nintex + Multiple level Folder with the same name is failing using Create Item action

$
0
0
We are facing issues while creating folder in document library using nintex workflows.

We want create folder one inside another up to 4 levels. If we are using different folder names it will work using "Create Item" event by separating by "/". Bu if we are mentioning same names for any of the folders it is failing.

Described the scenario below,

 1.       SharePoint document library with 4 drop down fields (all are having same values)

 2.       If we upload something we need to select values from 4 drop downs (required).

           Values to drop downs:

           Test1, Test2, Test3, Test4, Test5, Test6

3.       We are starting the workflow when an item added to the library

4.       We have the four drop down values

5.       Using “Create Item”, I am trying to create folder structure in the library.

Eg 1:

   If I have selected Test1, Test2, Test3, Test4 in the corresponding drop downs (say drop down1, drop down2, drop down3, & drop down4)

    The create Item “Name”(filed from library with Folder Content type) will be  Test1/ Test2/ Test3/ Test4

     In this case folder will be created without any issues. Test1 at the top level inside that Test2 inside that Test3 and inside that Test4.

 

   If I am selecting Test1, Test1, Test3, Test4 in the corresponding drop downs (say drop down1, drop down2, drop down3, & drop down4)

  So the create Item “Name” will be Test1/ Test1/ Test3/ Test4

  In this case Test1 at the top level inside that Test3 inside that Test4. Only one Test1 folder is created.

 

  So if we are repeating any names in the loop that won’t be created. If we are using Test1 for all the drop downs only one folder will be created with name “Test1” at the top level. Nothing else will be created.

  

Workflow Steps:

  1.       Fetching four drop down values to the variables using "Set Variable" action.             

  2.       Create the folders using the "Create item" action

  3.       Create item details

          Specify the library name.

          Select Folder as the content type.

          Select "Name" as the field.    

          Value for Name  is   “Folder1/Folder2/Folder3/Folder4”

 4.     Copying the document uploaded to the folder we have created

          Destination URL:  http://mysite.com/TestResearch/Folder1/Folder2/Folder3/Folder4/ 

 5.       Finally I will delete the item uploaded to the top level.


Viewing all articles
Browse latest Browse all 2462

Trending Articles