# Create sub-folder Alfresco

**URL:** <https://community.ofelia.com/t/create-sub-folder-alfresco/4251>\
**Category:** Q&A\
**Created:** [25 February 2014 17:27 UTC](https://community.ofelia.com/t/create-sub-folder-alfresco/4251 "2014-02-25T17:27:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![william.macedo](https://avatars.discourse-cdn.com/v4/letter/w/d2c977/32.png) [@william.macedo](https://community.ofelia.com/u/william.macedo)\
**Post date:** [25 February 2014 17:27 UTC](https://community.ofelia.com/t/create-sub-folder-alfresco/4251/1 "2014-02-25T17:27:17Z")

</div>

good afternoon,&nbsp;  
 I'm able to create folders within the Bonita BPM for Alfresco normally, but my doubt is:&nbsp;  
 needed to get the folder in which I created (already created the connector), and within it are able to create a subfolder.&nbsp;  
 example:&nbsp;  
 folder: / BonitaBPM&nbsp;  
 Subfolder :/ BonitaBPM/Teste123&nbsp;

I can put in "Parenth path" in order to create the subfolder?&nbsp;  
 thank you

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/flex013/uploads/community_bonitasoft/original/2X/6/6b7b18c0478f2645369e82e009b65e3b97f2cc12.svg) [@system](https://community.ofelia.com/u/system)\
**Post date:** [28 February 2014 11:32 UTC](https://community.ofelia.com/t/create-sub-folder-alfresco/4251/2 "2014-02-28T11:32:12Z")

</div>

Hi William

If I've undestood well you would like create a folder and then a sub folder in Alfresco repository. Am I right?

If yes what about use two different connectors in two different automatic tasks. The first one will create the main folder and the second one for the subfolder. Same think if you decide to use only one task, you can put the first connector triggered at task start and the second at task end event.

So the first connector may have this configuration:

- parten path: /Sites
- folder name: BonitaBPM

While the second connector:

- parent path: /Sites/BonitaBPM
- folder path: Teste123

Le me know if it can help you.

Ciao

Domenico.

---

<div class="post-metadata">

**Author:** ![william.macedo](https://avatars.discourse-cdn.com/v4/letter/w/d2c977/32.png) [@william.macedo](https://community.ofelia.com/u/william.macedo)\
**Post date:** [28 February 2014 11:46 UTC](https://community.ofelia.com/t/create-sub-folder-alfresco/4251/3 "2014-02-28T11:46:32Z")

</div>

but this in an automated way possible?  
example: user in the Userxp screen will put the name of the folder to be created, and then immediately the name of the subfolder to be created, and thus be automatically?

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/flex013/uploads/community_bonitasoft/original/2X/6/6b7b18c0478f2645369e82e009b65e3b97f2cc12.svg) [@system](https://community.ofelia.com/u/system)\
**Post date:** [28 February 2014 12:45 UTC](https://community.ofelia.com/t/create-sub-folder-alfresco/4251/4 "2014-02-28T12:45:24Z")

</div>

Yes.

You can use a Bonita Form Builder and add two input text widgets and assign them to a process data and then you can use these variables as inputs for Alfresco connectors.

---

<div class="post-metadata">

**Author:** ![william.macedo](https://avatars.discourse-cdn.com/v4/letter/w/d2c977/32.png) [@william.macedo](https://community.ofelia.com/u/william.macedo)\
**Post date:** [15 August 2014 12:06 UTC](https://community.ofelia.com/t/create-sub-folder-alfresco/4251/5 "2014-08-15T12:06:57Z")

</div>

and doing so with space between characters, is it possible?  
Example: / Bonita BPM / Test 123
