Skip to main content
Dynamics 365 Community / Forums / Finance forum / Custom Workflow is Stu...
Finance forum
Suggested answer

Custom Workflow is Stuck on "Submit" option. Unable to proceed further.

editSubscribe (0) ShareShare
ReportReport
Posted on by

I have created a custom workflow and I have activated the workflow from the workflow parameter. 

When I  create new and click on save, the workflow appears and when I click submit option and submit the workflow, the status gets changed too. 

But after Submit, the work flow drop down still shows "SUBMIT" option only and does not move further. I was expecting it to show: 'Cancel' and 'View history'. But it is not showing those.

I have tried debugging and was unable to locate, what the issue was. Can anyone help me, after submitting how do I continue further? Which class should I recheck


Attachments
  • Suggested answer
    b_radlyjames Profile Picture
    b_radlyjames on at
    Custom Workflow is Stuck on "Submit" option. Unable to proceed further.
    I know this is old, however, I wanted to put forth a potential root cause based on information provided.
     
    I think the most likely culprit here is your 'canSubmitToWorkflow' method that is on the table that is using workflow.
    That method is, most likely, still returning 'true' after you submit to workflow and therefore is only showing the 'Submit' button.
    Make sure the logic in that method is returning 'false' after a record has been submitted to workflow.
  • Suggested answer
    GirishS Profile Picture
    GirishS Super User on at
    RE: Custom Workflow is Stuck on "Submit" option. Unable to proceed further.

    Hi RSX,

    Check whether batch management service is running.

    Also debug the submit manager class where you will be activating the workflow by passing the workflow type name and current table buffer. Submit manager class will be found on the workflow type - Property named "Submit to workflow menu item".

    Check whether you have configured your custom workflow with approval process added.

    Thanks,

    Girish S.

  • RSX Profile Picture
    RSX on at
    RE: Custom Workflow is Stuck on "Submit" option. Unable to proceed further.

    How do I check that?

    Is it as per the below screenshot?
    pastedimage1675700585393v1.png

  • Suggested answer
    Ramit Paul Profile Picture
    Ramit Paul Super User on at
    RE: Custom Workflow is Stuck on "Submit" option. Unable to proceed further.

    Hi,

    Please check if your workflow batches are running.

Helpful resources

Quick Links

New Blog Features Released!

Check out the new community blog features for viewers and authors…

Setting Up Knowledge Sources for Copilot…

Look at how configuring a comprehensive knowledge base is crucial…

Demystifying Copilot with Georg Glantschnig…

Industry experts answer burning questions directly from our amazing Community…

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans