locked
workflow customization in sharepoint 2007 RRS feed

  • Question

  • Can a workflow be attached to a folder in a document library?

     - Can workflow approvers be dynamically driven depending sql table users?

     - Can workflow messages be modified to change message and link from document to folder? -

    Can a text file be opened up in edit mode like a word document while going through a workflow?


    sharepointer
    • Moved by Mike Walsh FIN Friday, March 18, 2011 11:41 AM pre-2010 wf questions go to the pre-2010 wf forum (From:SharePoint - General Question and Answers and Discussion (pre-SharePoint 2010))
    Friday, March 18, 2011 11:30 AM

Answers

  • Hi Amit,

     

    SPD Workflows can't be attached to content types, only to lists. If you set the workflow to be triggered on item added and it doesn't start when you create a folder, then it means that SharePoint Designer just ignores appearing of new folders. Workflows created in Visual Studio don't ignore folders and start each time. Moreover they can be associated with folder-based content types if you prepare good link to a workflow association _layout page with parameters.

     

    And to my knowledge, your second, third and fourth requirement can’t be achieved by using SharePoint Designer. You can try to use Visual Studio to do some code working, maybe this could meet your requirement.

     

    Thanks & Regards,

    Peng Lei

    • Marked as answer by David HM Friday, March 25, 2011 3:38 AM
    Monday, March 21, 2011 8:53 AM

All replies

  • Hi Amit,

     

    SPD Workflows can't be attached to content types, only to lists. If you set the workflow to be triggered on item added and it doesn't start when you create a folder, then it means that SharePoint Designer just ignores appearing of new folders. Workflows created in Visual Studio don't ignore folders and start each time. Moreover they can be associated with folder-based content types if you prepare good link to a workflow association _layout page with parameters.

     

    And to my knowledge, your second, third and fourth requirement can’t be achieved by using SharePoint Designer. You can try to use Visual Studio to do some code working, maybe this could meet your requirement.

     

    Thanks & Regards,

    Peng Lei

    • Marked as answer by David HM Friday, March 25, 2011 3:38 AM
    Monday, March 21, 2011 8:53 AM
  • Thanks Peng,

     

    Luckily we did not start with spd and started with visual studio so we will look into more how to associate folder with wf. We will explore coding ways how to populate approvers dynamically from external db.


    sharepointer
    Tuesday, March 22, 2011 7:42 AM