Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Suggested answer

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

(0) ShareShare
ReportReport
Posted on by 110

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


  • Suggested answer
    b_radlyjames Profile Picture
    b_radlyjames 3,081 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 27,816 Super User 2024 Season 1 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 110 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 22,295 Most Valuable Professional on at
    RE: Custom Workflow is Stuck on "Submit" option. Unable to proceed further.

    Hi,

    Please check if your workflow batches are running.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey Pt 2

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,791 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,488 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans