my workflow is deployed through the following script in SharePoint 2010:

# Set CurrentDirectory
$callingDir = Split-Path -Parent $MyInvocation.MyCommand.Path
[Environment]::CurrentDirectory = $callingDir

# Includes
$MainScriptName = "XXX.SharePoint.Powershell.YYY.ps1"
$MainScriptPath = Join-Path -Path $callingDir -ChildPath $MainScriptName

if (Test-Path $MainScriptPath)
    # use file from local folder
    . $MainScriptPath
    # use central file (via PATH-Variable)
    . $MainScriptName


$WebAppUrl = "NONE"

$SolutionPackageName = "Dataport.Survey.Webpart.wsp"
InstallSolution $SolutionPackageName $WebAppUrl


After that the workflow is shown as "deployed" (solution is provided). If I want to use the workflow (for example on a list) I can´t do this. In the Websitesettings (under "Workflows") the workflow is shown as inactive. But why? What can I do to use the workflow?

Thank you in advance!


The problem is fixed now. I had accidentally set "hidden=true" on the feature. If I set "hidden = false" on the feature the Workflow is usable.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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