How add a custom workflow to a specific InfoPath content type under a Form library? - InfoPath Dev
in

InfoPath Dev

How add a custom workflow to a specific InfoPath content type under a Form library?

Last post 11-24-2012 12:04 PM by Moe.Vafaei. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 11-22-2012 04:25 PM

    How add a custom workflow to a specific InfoPath content type under a Form library?

    Currently, my SharePoint 2007 Form Library with multiple InfoPath 2007 forms each with its corresponding custom workflow works fine. I'm having issue after the forms and workflows are moved and modified to work in SP2010. To begin with, I only published two InfoPath forms under one form library. I was also able to deploy and activate the two custom workflows. The problem I have is if I select an InfoPath form, the deployed custom workflows are NOT available, but if I select the Content Type = "All", then those two custom workflow are available. How do I attach a custom workflow to a specific InfoPath content type under a Form library?


     

  • 11-24-2012 10:09 AM In reply to

    Re: How add a custom workflow to a specific InfoPath content type under a Form library?

    Hi Moe.Vafaei,

    Have you tried just selecting the form library and adding the workflow to that?

    Just wondering,

    Patrick Halstead
    Project Manager at Qdabra
  • 11-24-2012 12:04 PM In reply to

    Re: How add a custom workflow to a specific InfoPath content type under a Form library?

    Hi Patrick... What you suggest actually attaches the workflow to all the InfoPath form content types in that library, which does not help since each IP content type should be attached to its own corresponding workflow.

    Actully, I've found the issue. Setting  <AssociationCategories> to 'ContentType' in the workflow elements.xml file insted of 'List' fixed the issue. <AssociationCategories>ContentType</AssociationCategories>

    Thank you,

    Moe

Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.