Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Content Type/Workflow Question

  Asked By: Ariel    Date: Feb 10    Category: Sharepoint    Views: 11428

I have a list that has several content types associated with it
(Baseballs, Footballs, Hockey Pucks). When I add a new list item, I
want a workflow to be kicked off depending on what content type the
item is. I have created a workflow for each type using designer and it
works, but I am wondering if I am setting this up for disaster.

If I add a baseball item, it appears to kick off all 3 workflows
(because each workflow is listening to the update item event). This is
not good (or is it?) because I will soon have 50 content types and
each new item/updated item will kick off 50 workflows. I know I can
create one workflow, but for 50 content types the workflow would be a
hairball.

Any ideas or best practices would be helpful!

Share: 

 

4 Answers Found

 
Answer #1    Answered By: Joanne Greer     Answered On: Feb 10

However you decide to go on the workflow, 50 content  types on a single
list sounds like a little much to me. I think it was not really designed
to be a double digit figure. I think it will work, it just seems like it
will be a hard list  to use.

 
Answer #2    Answered By: Vinay Thakur     Answered On: Feb 10

I also suspect that 50 content  types
in a single list  is a bit much. Having said that, I do think there is a
possible solution. I think your problem is that you are building your
workflows in SharePoint Designer. SPD built workflows  are attached directly
to a list, so when a new item  is added all the workflows fire. However, if
you build your workflows in Visual Studio then the workflows can be attached
to the content type, not the list itself. That way after activating the
workflow in the list it will only fire for that given content type. Thus
instead of 50 workflows firing you would only have one.

 
Answer #3    Answered By: Kerri Steele     Answered On: Feb 10

Here is a use full link for you

channel9.msdn.com/Showpost.aspx?postid=197661

 
Answer #4    Answered By: Alisha Itagi     Answered On: Feb 10

Create a single workflow  that branches based on the content  type item
property?

 
Didn't find what you were looking for? Find more on Content Type/Workflow Question Or get search suggestion and latest updates.




Tagged: