Problem summary: Given 2 content types and a different workflow associated with each CT, one workflow works properly for it's CT but when the other CT is uploaded the wrong workflow is invoked. I have checked all settings carefully and I am stumped.
Background: I have a site collection which contains a document library (SP 2010 Server service pack 1). The library has been enabled for multiple content types and I have 2 custom content types which are defined on my content type hub. Re-publishing and running the timer jobs for the hub and subscribers have been done after changes.
Content Type TeleworkAgreement is associated with a reusable workflow named FlexiplaceApproval as shown here:
Content Type FlexiplaceArchive is associated with a reusable workflow also named FlexiplaceArchive as shown here:
The workflow settings for the library seem correct. There is NO workflow associated with ALL content types per the dropdown box. The following shows how the FlexiplaceArchive workflow is configured to run on items of type FlexiplaceArchive:
Strangely, there is an Approval Form shown in the Forms section of the designer when examining the FlexiplaceArchive workflow. There should not be because there is no Approval Task in that workflow.
I hope you can help me figure this out. Would there be a Powershell script(s) to ensure that each workflow gets invoked for its proper content type. The UI appears correct to me.