When trying to deploy a SharePoint hosted custom workflow I received the following error:
Error occurred in deployment step ‘Install app for SharePoint’: There is no Workflow App Part registered.
The problem was that the SharePoint 2013 server did not have the WorkFlow Manager installed and configured.
FYI the WorkFlow Manager also requires ServiceBus to be installed (including the cumulative updates).
- Install ServiceBus
- and cumulative update
- then WorkFlow Manager
- and the cumulative update.
- Then run the following commands in the SharePoint Management Shell:
Register-SPWorkflowService -SPSite 'http://localhost:24000' -WorkflowHostUri 'https://localhost:12290' -AllowOAuthHttp -Force` `$WmsSap = Get-SPWorkflowServiceApplicationProxy $WmsSap.RegisterWorkflowLifecycleManagementEnvironment()
Note: You might need to also do some work around the certificates if you get an error like:
The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
But you will have to Google that yourself, it’s too big a subject to get into now ;-)