AnsweredAssumed Answered

When using an Execute Script Rule how can I determine the name of the subfolder that I am in when the rule executes?

Question asked by chamill on Jun 6, 2017
Latest reply on Jun 7, 2017 by chamill

When using a javascript as the execute script rule on a sub folder how can I determine the name of the subfolder that I am in when the rule executes?

 

Our subfolders are in the name of one the files custom metadata. so when moving or copying files I would like to change this piece of metadata to the name of the folder in which the file is being placed.

 

So what I require is to capture the subfolder name and use this text to populate my metadata field.

 

Amy help would be greatly appreciated.

 

Thanks

Outcomes