Will Workflow Manager work with Project Web Access? RRS feed

  • Question

  • I have been updating my Sharepoint server with Workflow Manager 1.0

    I initially had issues with running "Register-SpWorkflowService -SPSite "http://mysite/sites/Site1" -WorkflowHostUri "http://mysite:12291" until I ran the following code that I found in a blog:

    $config = (Get-SPSecurityTokenServiceConfig)
    $config.AllowOAuthOverHttp = $true
    $config.AllowMetaDataOverHttp = $true

    After running this code, I ran the Register-SPWorkflowService command above fine and was able to open Sharepoint Designer 2013 and see the option to create a Sharepoint 2013 Workflow.

    As I wrote above I targeted "http://mysite/sites/Site1"...when I run the command "Get-SPSite" on the server, there are three different sites:


    PWA is our Project Server implementation and after running all the above on "Site1" our project manager started getting emails with the subject line "Your queue job WorkflowCheckinNotify failed"

    Am I correct to assume that this is because I have not yet registered the PWA site with the workflow service? Things appear to still be working correctly (such as adding someone to a task, which is what originally generated the first error email message) but the messages are annoying to receive.

    I just want to make sure I'm not going to screw something up with any sort of built-in workflow that PWA has if I register the workflowservice to that site like i did with Site 1

    Wednesday, September 21, 2016 7:18 PM

All replies

  • Hello 

    As you know, the Content DB associated with PWA needs to be configured separately. If it is different with the one associated with site1, please make sure the account has enough permission for the DB.

    Best Regards

    Thursday, September 22, 2016 3:52 AM
  • Shelley, thank you for your reply...I'm not sure I really understand what you are you mean I need to register the PWA site separately from Site 1 using the Register-SPWorkflowService command? or something entirely different? I have a PWA site working fine prior to installing and registering Workflow Manager 1.0...after doing the service registration, we started getting the emails. While we are getting emails, the actions that are triggering them still are working...just generating an email like below:

    Your WorkflowCheckinNotify job failed.  Its current state is FailedNotBlocking.  It was 0% complete.  It entered the queue at 09/21/2016 12:46:44.

    To get more information about the job failure, please go to Project Web App.  Select Personal Settings from the left menu.  Then select My Queued Jobs.

    The errors returned from the queue are as follows:

     Error ID: 26000

    Detailed error below - send it to the administrator for more detailed troubleshooting.

    <?xml version="1.0" encoding="utf-16"?>



        <class name="Queue">

          <error id="26000" name="GeneralQueueJobFailed" uid="uid" JobUID="JobUID" ComputerName="ComputerName" GroupType="WorkflowCheckinNotify" MessageType="ProjectCheckinNotifyWorkflowMessage" MessageId="1" Stage="" CorrelationUID="8100a69d-05f2-f015-68a3-bae361ee765d" />




    You can do the following:

    1. Try troubleshooting using the error IDs, error XML.

    2. Contact administrator with your jobID (80324656-2380-e611-942d-0019b9bc08ba) and error XML.

    To turn off these notifications, go to PWA Settings, and then click Manage My Alerts and Reminders.

    From this page, you can clear the check box for those notifications you no longer want to receive.

    Microsoft Project Server

    • Edited by jb61264 Thursday, September 22, 2016 1:23 PM
    Thursday, September 22, 2016 1:22 PM
  • are you using the SharePint 2013? did you run the register-spworkflowservice against all site collections(3)?

    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog:

    Thursday, September 29, 2016 1:21 PM
  • Thanks for your replay Waqas, I am running Sharepoint 2013. I have not registered the Workflow Manager 1.0 with the PWA site because I wanted to make certain that it would not mess anything up with that site. I guess I should go ahead and register that site the same way I have for Site 1
    Friday, September 30, 2016 4:11 PM
  • When I run the Register-SPWorkflowService -SPSite "http://mysite/PWA" -WorkflowHostUri "http://mysite:12991" -AllowOAuthHttp command, the Sharepoint 2013 Management Shell returns the message below...even though I have not specifically registered Workflow Manager 1.0 with this site. I have only registered it with http://mysite/sites/Site1 but it is saying my PWA site is already registered with a workflow service

        + CategoryInfo          : InvalidData: (Microsoft.Share...WorkflowService:
       RegisterSPWorkflowService) [Register-SPWorkflowService], SPCmdletPipeBindE
        + FullyQualifiedErrorId : Microsoft.SharePoint.WorkflowServices.PowerShell

    PS C:\Windows\system32> Register-SPWorkflowService -SPSite "http://mysite/PWA
    " -WorkflowHostUri "http://mysite:12291" -AllowOAuthHttp
    Register-SPWorkflowService : Failed to register because the farm or partition
    is already registered with a workflow service
    At line:1 char:1
    + Register-SPWorkflowService -SPSite "http://mysite/PWA" -WorkflowHostUri
    "http ...

    Friday, September 30, 2016 7:54 PM
  • Hi jb61264

    That is right error. Register-SPWorkflowService runs at farm level by default. So even though you have ran it for http://mysite/sites/site1, it got registered for other sites as well. The error you were observing "Your queue job WorkflowCheckinNotify failed" is not related to this. Just make sure that worklows services+Service bus services are up and running, check ULS logs and start from there.


    • Edited by mohit.goyal Sunday, October 2, 2016 7:01 AM
    Sunday, October 2, 2016 7:01 AM
  • Error message is correct. I think your error is not related to workflow manager rather it is related, the way you setup/ create workflow with pwa. check this post( last reply at the end)

    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog:

    Sunday, October 2, 2016 5:21 PM