Ask a questionAsk a question
 

AnswerMultiple workflows

  • Thursday, November 05, 2009 7:30 PMDLewicki Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I want to activate several Infopath forms in one Document Library. The forms are various administrative forms.
    Is it possible to have different workflows for each of the forms? They are mostly approval workflows. So FormA has Workflow1, and FormB has Workflow2 and FormC has Workflow3.

    Thanks, Dave

Answers

  • Thursday, November 05, 2009 10:33 PMSrinivas Varukala Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Yes, it is possible. There are couple of ways to do this.
    The best way:

    To achieve:
    IP Form A - Workflow1
    IP Form B - Workflow2
    IP Form C - Workflow3

    1. Go to site settings page (Site Actions - Site Settings).
    2. Under 'Galleries' select 'Site Content Types'.
    3. Select IP Form A in the list
    4. Then click 'Workflow settings' link. Then follow the routine process of adding the workflow. Give an unique name.
    5. Repeat step 3 and 4 for IP Form B and IP Form C.
    6. I hope you know how to attach the forms content types to the document library.
    Thats it, once you submit each type of form the corresponding workflow will kick off and you will see a new column being added to the library with the workflow name you provided.
    Srinivas Varukala http://sharenotes.wordpress.com
    • Marked As Answer byDLewicki Friday, November 06, 2009 3:59 PM
    •  
  • Friday, November 06, 2009 7:04 AMGinni Sharma Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Other way is to go to the "Site Settings" option of the List and then add your content types. Click on the first content type and in that select the "Workflow Settings" Link. Then u can add your workflows in the normal way. The Workflow will get attached to the content type.

    But you cannot associate SharePoint Designer Workflows as they can only be associated with the Lists. OOTB Workflows and Visual Studio workflows can be associated with the Content Types.
    • Marked As Answer byDLewicki Friday, November 06, 2009 3:59 PM
    •  

All Replies

  • Thursday, November 05, 2009 10:33 PMSrinivas Varukala Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Yes, it is possible. There are couple of ways to do this.
    The best way:

    To achieve:
    IP Form A - Workflow1
    IP Form B - Workflow2
    IP Form C - Workflow3

    1. Go to site settings page (Site Actions - Site Settings).
    2. Under 'Galleries' select 'Site Content Types'.
    3. Select IP Form A in the list
    4. Then click 'Workflow settings' link. Then follow the routine process of adding the workflow. Give an unique name.
    5. Repeat step 3 and 4 for IP Form B and IP Form C.
    6. I hope you know how to attach the forms content types to the document library.
    Thats it, once you submit each type of form the corresponding workflow will kick off and you will see a new column being added to the library with the workflow name you provided.
    Srinivas Varukala http://sharenotes.wordpress.com
    • Marked As Answer byDLewicki Friday, November 06, 2009 3:59 PM
    •  
  • Friday, November 06, 2009 7:04 AMGinni Sharma Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Other way is to go to the "Site Settings" option of the List and then add your content types. Click on the first content type and in that select the "Workflow Settings" Link. Then u can add your workflows in the normal way. The Workflow will get attached to the content type.

    But you cannot associate SharePoint Designer Workflows as they can only be associated with the Lists. OOTB Workflows and Visual Studio workflows can be associated with the Content Types.
    • Marked As Answer byDLewicki Friday, November 06, 2009 3:59 PM
    •  
  • Friday, November 06, 2009 3:23 PMDLewicki Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Thank you both for your replies and insights. I will look into this.