Skip to main content

created a WF to run on a document that is a certain CT. The WF needs to pickup/grab the DocSet name - then set it to a variable - in order to rename the document (PDF) (using a string I have configured) and then route (copy) that PDF to a certain folder in a different doclib. 

How do I configure the WF to GET the docset name for the document the wf is running on? (there are many docsets) 

Clearly getting the NAME field isn’t working (as it picks up the name of the doc - the NAME field for the docset is also the same field for the doc NAME)

Hi @kpope,

I have investigated this solution, and there appears to be no reference to the document set name that can be easily obtained.
The only solution I can see would be to get the URL for the document and then use text functions or a regular expression or both to extract the document set name.


Thank you - how is this configured? I grabbed the item url (not using a reference - I assume I’d use the Context Item URL? ) and I have hightlighted in red, the DocSet name.  

 


then using the pattern in the regex control

the above saved the docset name with a ";" (the variable needs to be a collection type)  at the end. 
I used the following to remove the ";"

then I was able to configure the WF to rename the doc for the new location

 


Reply