Skip to main content
Question

How to set workflow to change the folder creation from Parties to a specific department


Forum|alt.badge.img+1

We had an implementation partner set up our workflow and they set the folder creation to create in a general ‘Parties’ folder.  I now want to have the workflow save the contracts to the specific department.  I have created the department folders within the system, have created a .csv with the department (along with their approver and legal’s email in other columns) and have pointed the doc generation form to that .csv where the user can pick the department.  

The global config file has /Parties/ in the path to create the folder.  I have tried several variations in that field for {Department}, (/{Department}, /{Department}/) but it keeps erroring at the folder creation step with this error: 

Action failed with exception, returned: No folder found for path: 2|<%#MFC_x_GlobalConfigs.FolderPath%>. 

Any help would be greatly appreciated. 

7 replies

Pawan Gangwani
Frequent Contributor
Forum|alt.badge.img+13
  • Frequent Contributor
  • 433 replies
  • April 15, 2025

Hello ​@TanyaSestak 

Welcome to the DocuSign Community!

you want to dynamically create a folder based on the department selected in the intake form and move the generated document into the corresponding folder. Steps:


1. Capture the Department from the Intake Form:
You've already configured the intake form to capture the department using a .csv file. Let's assume the variable for the department selected in the form is called “HR”.

2. Create Folder Step: 

Create a folder dynamically “Department”. Do not forget the saving output.


Link: Automated Document Management Workflow Steps in Docusign CLM

3. Then use the “Copy or Move Document”:
Copy or move an existing document into a new location. Document can be copied/ moved with or without existing attributes. Once the document is generated, you can move or copy it to the appropriate department folder.

Let me know, if you need further help.

Thanks!

👪 DocuSign Community Leaderboard Top 5 contributor
💹 Ranked #3 in the Reply Royalty category in DocuSign Community Wrapped 2024
🤝Let’s LinkedIn and rollPawan Gangwani - EY | LinkedIn
 


Forum|alt.badge.img+1
  • Author
  • Newcomer
  • 4 replies
  • April 22, 2025

Hi Pawan - first, thank you for your reply.  With the very complex workflow our implementation partner created I have started a new workflow to bypass their workflow.  I did take the workflow class and following those instructions and yours above, I have tried to get the folder to create.  Unfortunately, I keep getting a ‘failed’ on the first steps of the workflow in which the department folder is the destination of a new contract.  

I’ve attached a snip of the new workflow.  Please let me know what you think. Thanks.


Pawan Gangwani
Frequent Contributor
Forum|alt.badge.img+13
  • Frequent Contributor
  • 433 replies
  • April 23, 2025

Hello ​@TanyaSestak 

I can see how challenging it must be with the complex workflow from your implementation partner.

I appreciate you taking the initiative to create a new workflow to bypass the existing one. I understand the issue with the department folder failing during the first steps. Could you please share a snapshot of the failure and let me know what the error message says?

First, save the folder path of the 'Parent folder' into the text type variable, as shown in the snapshot below. Then, pass this value into the 'Create folder' step under the 'Parent folder' field.


thanks!

👪 DocuSign Community Leaderboard Top 5 contributor
💹 Ranked #3 in the Reply Royalty category in DocuSign Community Wrapped 2024
🤝Let’s LinkedIn and rollPawan Gangwani - EY | LinkedIn


Forum|alt.badge.img+1
  • Author
  • Newcomer
  • 4 replies
  • April 23, 2025

Hi Pawan - attached are snips showing the steps and what I have in there as well as the error.  Thanks.


Pawan Gangwani
Frequent Contributor
Forum|alt.badge.img+13
  • Frequent Contributor
  • 433 replies
  • April 23, 2025
TanyaSestak wrote:

Hi Pawan - attached are snips showing the steps and what I have in there as well as the error.  Thanks.

I can see, your department variable is currently empty, which is why you're seeing the error message: “Name for new folder was not specified.” If you check the snapshot you shared, you’ll see that the department value is missing.

Once you populate that correctly, the workflow should proceed without issues. Also, I noticed you're using the PartyName variable now—just make sure that one isn't empty either.

👪 DocuSign Community Leaderboard Top 5 contributor
💹 Ranked #3 in the Reply Royalty category in DocuSign Community Wrapped 2024
🤝Let’s LinkedIn and rollPawan Gangwani - EY | LinkedIn


Forum|alt.badge.img+1
  • Author
  • Newcomer
  • 4 replies
  • April 23, 2025

Thanks Pawan - that completed mostly correctly in that it created the party folder within the parent folder rather than the department folder. Do I need another ‘create folder’ step?

 

Update to the above - I did create another step to create/find the department before creating the party folder and created a variable from the department folder to put into the step that created the party folder and it worked! Thank you so much for your help!


Pawan Gangwani
Frequent Contributor
Forum|alt.badge.img+13
  • Frequent Contributor
  • 433 replies
  • April 24, 2025
TanyaSestak wrote:

Thanks Pawan - that completed mostly correctly in that it created the party folder within the parent folder rather than the department folder. Do I need another ‘create folder’ step?

 

Update to the above - I did create another step to create/find the department before creating the party folder and created a variable from the department folder to put into the step that created the party folder and it worked! Thank you so much for your help!

That's fantastic to hear! I'm so glad you were able to implement an additional step to create/find the department, it sounds like you made some great progress! 😄

I'm happy I could assist. If you run into anything else or need further help, feel free to reach out. I'm always happy to help. & if it is resolved please mark my answer as “Best Answer”. 🤝

👪 DocuSign Community Leaderboard Top 5 contributor
💹 Ranked #3 in the Reply Royalty category in DocuSign Community Wrapped 2024
🤝Let’s LinkedIn and rollPawan Gangwani - EY | LinkedIn