web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Workflow button stuck at "Submit"

(0) ShareShare
ReportReport
Posted on by

Hi I have a custom workflow, after I hit "Submit" button, I see the Workflow status changed to "Submitted" but the button under "Workflow" drop down still only showing "Submit"m while out of box workflow will show the following buttons "Recall" and "View history".

I can see my approval workflow element showing up in WorkflowTrackingTable so I guess it did get submitted.  My question is why the Workflow button list didn't get updated, what am I missing here??

pastedimage1599160637739v1.png

I have the same question (1)
  • Gunjan Bhattachayya Profile Picture
    35,429 on at

    Hi Yvonne,

    Is the Microsoft Dynamics Batch service running and is the Workflow batch group selected under the server in Server configuration?

  • Community Member Profile Picture
    on at

    Yes, all checked.  My main problem is in the same VM, the out of box workflow would show "Recall" and "View history" buttons after workflow is submitted while the custom workflow wouldn't, it still show "Submit" button.

  • Gunjan Bhattachayya Profile Picture
    35,429 on at

    Could you please let me know about teh following -

    1. Are you updating the Workflowstatus field in the table after submitting?

    2. Do you have a canSubmitToWorkflow method on the table or on the form?

  • Verified answer
    Sukrut Parab Profile Picture
    71,741 Moderator on at

    Looks like your workflowStatus field is not getting updated with submit status. Can you check  the value of the field you have added in your table ? Did you add updateWorkflowStatus method ?

  • Community Member Profile Picture
    on at

    That's something I couldn't figure out.  I have that method, and the record has been updated to "Submitted" but the Workflow menu button still showing "Submit".

    pastedimage1599162544137v1.png

  • André Arnaud de Calavon Profile Picture
    305,465 Super User 2026 Season 1 on at

    Hi Yvonne,

    Can you check on the Workflow history form if the workflow instance is still pending or got stuck in an error state?

  • Verified answer
    Sukrut Parab Profile Picture
    71,741 Moderator on at

    Can you check what your cansubmittoworkflow method is returning In this case ? It must be returning true  which it shouldn't.

  • Gunjan Bhattachayya Profile Picture
    35,429 on at

    Could you please share the "canSubmitToWorkflow" method you have in place?

  • Suggested answer
    Community Member Profile Picture
    on at

    Yes, you are exactly right.  I updated canSubmitToWorkflow and it's working now.

  • Community Member Profile Picture
    on at

    I updated canSubmitToWorkflow method and it's working now.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 676

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 633 Super User 2026 Season 1

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 624 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans