i am getting error like Something went wrong. To try again, reload the page and then start the workflow.

Bikram Pal 0 Reputation points
2024-06-10T20:54:29.7033333+00:00

i am suddenly started getting error Something went wrong. To try again, reload the page and then start the workflow. when i click the item workflow.it was working fine earlier. logs says the below

Microsoft.Workflow.Client.InvalidRequestException: The scope '/SharePoint/default/c66974e5-277b-4ec5-900a-9264b3ad0f32/1d4fae37-8b14-4434-94fa-03e8817bc454' has no workflows under it. HTTP headers received from the server - ActivityId: 30e936ef-4b72-48e6-a8f6-c2e7dc59919e. NodeId: STWMSP021. Scope: /SharePoint/default/c66974e5-277b-4ec5-900a-9264b3ad0f32/1d4fae37-8b14-4434-94fa-03e8817bc454. Client ActivityId : 236131a1-ef10-90bb-42f8-9b9031e7c03c. ---> System.Net.WebException: The remote server returned an error: (400) Bad Request.

at Microsoft.Workflow.Common.AsyncResult.EndTAsyncResult

at Microsoft.Workflow.Client.HttpGetResponseAsyncResult`1.End(IAsyncResult result)

at Microsoft.Workflow.Client.ClientHelpers.SendRequestT -

-- End of inner exception stack trace ---

at Microsoft.Workflow.Client.ClientHelpers.SendRequestT

at Microsoft.Workflow.Client.WorkflowManager.StartInternal(String workflowName, WorkflowStartParameters startParameters)

at Microsoft.SharePoint.WorkflowServices.FabricWorkflowManagementClient.StartInstance(String serviceGroupName, String workflowName, String monitoringParam, String activationKey, IDictionary`2 payload)

at Microsoft.SharePoint.WorkflowServices.FabricWorkflowInstanceProvider.StartWorkflow(WorkflowSubscription subscription, IDictionary`2 payload) StackTrace:

at Microsoft.Office.Server.Native.dll: (sig=3f963f92-8082-4f57-8ee5-23f34b6d8074|1|Microsoft.Office.Server.Native.pdb, offset=1065B)

at Microsoft.Office.Server.Native.dll: (offset=2019F)

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,827 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
3,044 questions
SharePoint Workflow
SharePoint Workflow
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Workflow: An orchestrated and repeatable pattern of business activity, enabling data transformation, service provision, and information retrieval.
601 questions
SharePoint Server Management
SharePoint Server Management
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Management: The act or process of organizing, handling, directing or controlling something.
2,961 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ling Zhou_MSFT 18,100 Reputation points Microsoft Vendor
    2024-06-11T02:03:48.16+00:00

    Hi @Bikram Pal,

    Thank you for posting in this community.

    Please follow the steps below to troubleshoot the issue:

    1.Try using the workflow in a subsite in this site collection to see if it works. If possible, run the following command to reactivate the WorkflowServiceStore feature.

     Disable-SPFeature -Identity WorkflowServiceStore –Url https://sharepoint.com -Confirm:$false
     Enable-SPFeature -Identity WorkflowServiceStore –Url https://sharepoint.com
    

    2.Restart the Service Bus Gateway and the Service Bus Message Broker services in gateway app.

    3.Restart User Profile Service and User Profile Synchronization Service from SharePoint's Central Administration.

    4.Validate that the user profile synchronization was still working.

    5.Restart Workflow Manager Website in IIS.

    6.Restart Workflow Manager backend service in the Services console.

    7.Restart the server.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.