SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a SP 2010 custom workflow built using Visual Studio 2010. The workflow specifies an association URL like this

     Name="WF Name"
     Description="WF Description"

When adding this workflow to a list in the site collection root site everything works as expected. However, when I want to add the same workflow to a list in a sub-site of the site collection (E.g. /subsite) then when clicking on the 'Next' button the url /subsite/Company/WorkflowForms/WorkflowAssociationForm.aspx is requested (note the leading /subsite) which does not exist (only /Company/WorkflowForms/WorkflowAssociationForm.aspx exists).

Does the workflow WSP need to be installed explicitly for the sub-site, or is there some configuration setting that will make this scenario succeed?

share|improve this question
up vote 0 down vote accepted

The solution is to place the WorkflowAssociationForm.aspx page into the LAYOUTS folder (~/_layouts/Company/WorkflowForms/WorkflowAssociationForm.aspx). The path to the master page might also need to be adjusted in this case.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.