none
Simple workflow won't start. Internal Status: Not Started RRS feed

  • Question

  • I created a simple work flow to send an email on the creation of an item in a list. 

    But when I do this, it makes an instance but the status reads

    Initiator: Anonymous    
      Started: 10/3/2014 4:52 PM   Internal Status: Not Started
      Last run: 10/3/2014 4:52 PM   Status:  
     

    I can't get it to run. I have full access and I see no errors. 

    Can anyone help?

    Friday, October 3, 2014 7:13 AM

Answers

All replies

  • To add to this, no issue running 2010 workflows on the same site.
    Friday, October 3, 2014 7:23 AM
  • Have you tried running the first step under an impersonation step using your own credentials.  There are some instances where a Workflow won't start if it's using the System account.

    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles: CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

    Friday, October 3, 2014 8:34 AM
    Answerer
  • Sorry that's not the issue and from what I can see, you can only do that in 2010 workflows.

    I've traced it back to this error. 

    Log Name:      Application
    Source:        WorkflowServiceBackend
    Date:          22/10/2014 8:05:38 AM
    Event ID:      0
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      DEV-SP2013.lan.####.com.au
    Description:
    Service cannot be started. System.Security.Cryptography.CryptographicException: Keyset does not exist

       at System.Security.Cryptography.Utils.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
       at System.Security.Cryptography.Utils.GetKeyPairHelper(CspAlgorithmType keyType, CspParameters parameters, Boolean randomKeyContainer, Int32 dwKeySize, SafeProvHandle& safeProvHandle, SafeKeyHandle& safeKeyHandle)
       at System.Security.Cryptography.RSACryptoServiceProvider.GetKeyPair()
       at System.Security.Cryptography.X509Certificates.X509Certificate2.get_PrivateKey()
       at Microsoft.Workflow.Common.EncryptionHelper.DecryptStringWithCertificate(X509Certificate2 encryptionCertificate, String encryptedText)
       at Microsoft.Workflow.Management.WorkflowEncryptionSettings.InitializeInternal()
       at Microsoft.Workflow.Management.WorkflowServiceConfiguration.get_EncryptionSettings()
       at Microsoft.Workflow.Management.WorkflowServiceConfiguration.GetResourceManagementConnectionStringFromConfig()
       at Microsoft.Wo...
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="WorkflowServiceBackend" />
        <EventID Qualifiers="0">0</EventID>
        <Level>2</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2014-10-21T21:05:38.000000000Z" />
        <EventRecordID>87456</EventRecordID>
        <Channel>Application</Channel>
        <Computer>DEV-SP2013.lan.####.com.au</Computer>
        <Security />
      </System>
      <EventData>
        <Data>Service cannot be started. System.Security.Cryptography.CryptographicException: Keyset does not exist

       at System.Security.Cryptography.Utils.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
       at System.Security.Cryptography.Utils.GetKeyPairHelper(CspAlgorithmType keyType, CspParameters parameters, Boolean randomKeyContainer, Int32 dwKeySize, SafeProvHandle&amp; safeProvHandle, SafeKeyHandle&amp; safeKeyHandle)
       at System.Security.Cryptography.RSACryptoServiceProvider.GetKeyPair()
       at System.Security.Cryptography.X509Certificates.X509Certificate2.get_PrivateKey()
       at Microsoft.Workflow.Common.EncryptionHelper.DecryptStringWithCertificate(X509Certificate2 encryptionCertificate, String encryptedText)
       at Microsoft.Workflow.Management.WorkflowEncryptionSettings.InitializeInternal()
       at Microsoft.Workflow.Management.WorkflowServiceConfiguration.get_EncryptionSettings()
       at Microsoft.Workflow.Management.WorkflowServiceConfiguration.GetResourceManagementConnectionStringFromConfig()
       at Microsoft.Wo...</Data>
      </EventData>
    </Event>

    Anyone got any idea?

    Tuesday, October 21, 2014 9:24 PM
  • Could be a potential error with Workflow Manager.  I've not seen this error myself, so these are only speculative links but hopefully they'll help to get you started.

    Firstly, the trouble shooting link might be of some use for you - http://msdn.microsoft.com/en-us/library/jj193529(v=azure.10).aspx#WorkflowExecution

    Secondly, the error message hints at there being a permissions error on the app pool account.  There's some guidance here that may well be useful for you - http://sharepointfordeveloper.blogspot.ch/2011/12/sts-error-key-set-does-not-exist.html


    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles: CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

    • Marked as answer by JasonGuo Saturday, November 8, 2014 3:05 PM
    Tuesday, October 21, 2014 10:01 PM
    Answerer