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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

How are Workflow Action Submenus Dynamically Generated in D365FO?

(0) ShareShare
ReportReport
Posted on by 22

Hi Team,

I am currently working with workflows in Dynamics 365 Finance & Operations and trying to understand how the workflow action menu is dynamically generated at runtime.

For a custom workflow, I understand that the Workflow button is enabled dynamically based on the workflow status. However, when I click the Workflow button, it displays different submenu actions depending on the current workflow state.

For example:

  • Before submission → Submit
  • After submission → Recall, View History, etc.
  • Depending on the workflow status, the available actions change dynamically.

I would like to understand where these workflow submenu items are being generated and what is responsible for determining which actions are displayed at runtime.

I have tried debugging the workflow execution and menu-related code at several points, but I have not been able to identify the main method/class responsible for dynamically building these submenu items.

Could anyone please point me in the right direction regarding:

  1. Which class/method is responsible for generating the workflow action submenus?
  2. Is there a framework class or method that I should focus on while debugging this behavior?
  3. If possible, could you provide an example or debugging approach to trace the Submit → Recall → View History menu generation?

Any guidance on where to start debugging this framework functionality would be greatly appreciated.

Thanks in advance!

Categories:

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 Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

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

#1
Martin Dráb Profile Picture

Martin Dráb 426 Most Valuable Professional

#2
CU10121822-0 Profile Picture

CU10121822-0 358

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 353 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans