Goal:
Use a one of OOB:s workflow that is included in the SharePoint 2013
Problem:
I retrieve a error message that says
"The form cannot be rendered. This may be due to a misconfiguration of the Microsoft SharePoint Server State Service. For more information, contact your server administrator. "
and I used a solution based on the source code
$serviceApp = New-SPStateServiceApplication -Name "State Service"
New-SPStateServiceDatabase -Name "StateServiceDatabase"
-ServiceApplication $serviceApp
New-SPStateServiceApplicationProxy -Name "State Service"
-ServiceApplication $serviceApp -DefaultProxyGroup
Unfortunately, the source code for the PowerShell does not work and I still have the problem with error message above.
Information:
-I'm using SharePoint 2013