-->

Can't find workflow deployed as WSP solution (

2019-06-14 07:10发布

问题:

I am new to SharePoint, sorry if answer to my question is obvious.

I am trying to deploy my very simple workflow as WSP package, it deploys without errors, I activate it, but I can't find my workflow and associate it with list. Could you help me, please, what I do wrong?

I do it so:

  1. Create empty project

  2. Choose trust level as a Farm solution

  3. Add State Machine Workflow

  4. Choose list Workflow

  5. Associate workflow with list Task

  6. Create simple workflow

  7. Press CTRL-F5 in VS2010, and see that WF appears

  8. Pack it to WSP package

  9. Upload and activate it.

  10. Check is it associated to list. It doesn't.

  11. Try to associate it manually, but I can't see it. Why? Where is my error?

I try to google about the problem, but find nothing. I think that I missed something important in basic priciples, but I can't understand what. Help me please.

Thank you in advance.

回答1:

I've found the answer. The root of the problem is next: I've tryed to add WSP Farm solution to sandbox solution gallery. I have to use another way for deploying, for example PowerShell.

PS: Thanks to Balamurugan-S KAUST answer