K2 Blackpearl 4.6.11
K2 Visual Studio 2013
SharePoint 2013
I am building a workflow that will fire when a document is added to a SharePoint doc library. I am trying to figure out (if possible) how to obtain the name of the sub-folder the document was put in. I need to store the folder name in a data field for use throughout the process. Any suggestions would be great. Also, is there a way to create a reference for the library that is kicking off the workflow? With the smartforms integration wizard, you can create an item reference at the start but that's not available in the K2 for SharePoint Process Wizard.