Hello friends
I've got 1 WFE, 1 App server, 1 SQL server and 1 OWA server in my farm. I've installed Workflow Manager and Client on the APP server and Workflow Manager Client on the WFE. The wizard ran successfully creating all the workflow manager config and dbs no problem. I've used a dedicated service account for this (which is setup as a managed service account thru Central admin). I've installed the latest Service Bus, Workflow Manager and Client CUs.
PROBLEM. I've got a simple custom list (OOTB) with a simple SharePoint designer 2013 workflow that is setup to updating the workflow status to a message when either an item is created in the list or modified. Just ONE action in the workflow - the most basic thing in a workflow. The workflow doesn't seems to actually do anything when adding new or changing item although workflow settings are set up as such. I'm not running as SYSTEM account just my own account (which is site collection admin).
The workflow publishes fine. I verified that I can browse to http://myurl:12291 and the end points at port 12291 are accessible, but only using the service account credentials.
I'm completely stumped - don't know what to look for in the logs or where to start debug this.
Help and thank you
PS. When I click on the file menu on "Workflow" I get this in the logs on my WFE only: System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
PS2. Event Log - under Workflow Manager I get warnings like this
Failed SQL command after 1 tries with error '229'. Exception: System.Data.SqlClient.SqlException (0x80131904): The EXECUTE permission was denied on the object 'InsertTrackingAndStatus', database 'SPPROD_WFInstanceManagementDB', schema 'dbo'.at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.CompleteAsyncExecuteReader()
at System.Data.SqlClient.SqlCommand.EndExecuteNonQueryInternal(IAsyncResult asyncResult)
at System.Data.SqlClient.SqlCommand.EndExecuteNonQuery(IAsyncResult asyncResult)
at Microsoft.Workflow.Management.ExecuteNonQueryAsyncResult.OnEndExecuteSql(IAsyncResult result)
at Microsoft.Workflow.Management.ExecuteSqlAsyncResult.EndAsyncResult(IAsyncResult result)
at Microsoft.Workflow.Common.BackoffRetryAsyncResult.IsolateWithRetry(IAsyncResult result)
at Microsoft.Workflow.Common.AsyncResult.AsyncCompletionWrapperCallback(IAsyncResult result)
ClientConnectionId:9bafe0df-6ad4-4924-adc9-0b6ba807f47e
Error Number:229,State:5,Class:14 Command Details: SQL Text : InsertTrackingAndStatus
SQL Parameters :
> @StatusRecords = Microsoft.Workflow.Management.SqlDataAccessProvider+InstanceStatusValuesCollection
> @MetadataWithInstanceId =
> @Variables = Microsoft.Workflow.Management.SqlDataAccessProvider+VariablesCollection
> @TrackingRecords =
> @StatusHistoryRecords =
> @DebugTraceRecords =
> @RollingStatusHistoryWindowSize = 1000
> @RollingDebugTraceWindowSize = 5000