none
How to re-register Workflow Service in workflow manager 1.0? RRS feed

  • Question

  • I am using SharePoint 2013 Management Shell to re-register my Workflow Service due the following error I am having in Sharepoint Designer 2013:

    Microsoft.Workflow.Client.ActivityValidationException: Workflow XAML failed validation due to the following errors: Cannot set unknown member 'CompositeTask.RelatedContentLinkListItemIntegerId'. HTTP headers received from the server - ActivityId: e8e6d4fe-2a4e-41df-a046-a88e93e89e27. NodeId: FS0008. Scope: /SharePoint/default/5985c481-dbed-409b-ada8-2aa2bfc64a47/08f0ee16-a466-4797-9ee0-4cdc56b27fe7. Client ActivityId : 403fe49c-6f29-f019-9b9c-d69dcbbedef6. ---> System.Net.WebException: The remot

    Problem is that  I don't seem to have connection when it comes to indicate the WorkflowUri

    Can this error be fixed in any other way?

    Wednesday, February 4, 2015 10:48 AM

All replies

  • Hi Julio,

    To reregister workflow

    Register-SPWorkflowService -SPSite "http://new" -WorkflowHostUri "http://spwflmgr.com:12291" –AllowOAuthHttp -subfarm sharepointfarmb

    to check workflowURI, go to the IIS and check the IIS site created by the workflow configuration wizard

    Let me know if this solves your issue


    Kind Regards,

    John Naguib

    Technical Consultant/Architect

    MCITP, MCPD, MCTS, MCT, TOGAF 9 Foundation

    Please remember to mark your question as answered if this solves your problem

    Wednesday, February 4, 2015 12:00 PM

  • First you have to  clean up  

     

    The clean up process is pretty easy, but as always I warn you against making changes to your systems if you are unsure of the repercussions of doing it incorrectly. Additionally, removing / un-registering Workflow Services can halt, break, etc Workflows in the Farm.

    1. Un-register the Workflow Service for the site
    2. Navigate to Central Administration > Security > Manage Trust
    3. Highlight the row by clicking the anchor link, it doesn’t work like other row selections in SharePoint (rather annoyingly)
    4. Click Delete from the ribbon
    5. Repeat steps 2 and 3 until all the “unfriendly” entries (assuming you’re not already using some)
    6. Enjoy the nice clean Manage Trust pane

    Next  register it again with below PS command

    Register-SPWorkflowService -SPSite 'https://myhost/mysite' -WorkflowHostUri 'https://workflowhost:12990'


    Wednesday, February 4, 2015 12:44 PM
  • You just need to run the same command yet again with -force switch

    Register-SPWorkflowService -SPSite "http://contoso" -WorkflowHostUri "http://contoso:12291" AllowOAuthHttp -force

    • Proposed as answer by Manik Rao Thursday, February 5, 2015 5:30 PM
    Wednesday, February 4, 2015 1:00 PM
  • Try to do the following:

    1. Delete the Workflow Service Application Proxy from central administration.
    2. Run the Register-SPWorkflowService cmdlet.

    For more details, check 

    Monday, December 16, 2019 1:36 AM