ISSUEWhen running a workflow, it automatically fails and the following error appears in the workflow history:
Failed to start workflow. This server is not licensed
RESOLUTIONStop and restart the services on the servers in the farm. Review your Nintex Workflow License and ensure that the farm topology matches license requirements and adjust the services accordingly. For more information, see Workflows and the SharePoint services required to run them.
Microsoft recommends the following to resolve these "Failed to run" errors:
Option 1Locate one Web Front End server which has Web Application service running, run the following PowerShell command to copy workflow-related configuration from the web.config to the configuration database so it will be available from every server in the Farm.
$webapp = Get-SPWebApplication -identity http://<web app name> $webapp.UpdateWorkflowConfigurationSettings()
Option 2Start the Web Application Service on all servers that have the Workflow Timer Service running.
Option 3Disable the Workflow Timer Service on servers that are not running the Web Application service. For more information, see: SharePoint 2010: Workflow fails to run after pause in Microsoft Support.
Note: the “Microsoft SharePoint Foundation Web Application” service provides web server functionality. Starting or stopping this service will deploy/remove files from the C:\inetpub\wwwroot\ directory. Perform this action at your own discretion.