HI,
I want to create a folder within a folder using activiti workflow. I use the following code to create a folder :
var node=companyhome.childByNamePath("Sites/dmp/documentLibrary");
if(node != null) {
node.createFolder(bc_brandName);
}
This code is working. Now what if I want to create a folder within "Sites/dmp/documentLibrary/Tide", Tide being bc_brandName. I tried it with the similar code like:
var node=companyhome.childByNamePath("Sites/dmp/documentLibrary/bc_brandName");
if(node != null) {
node.createFolder(bc_productName);
}
But this is not working. Can anyone help me on this.
Thanks
Anand.