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, ...
Suggested Answer

Query or report on system workflows?

(0) ShareShare
ReportReport
Posted on by 129

Has anyone ever built a SQL query or report on system workflows?

We have workflows configured per entity, for approval of invoices. I need to retrieve the conditions, approval steps, and approvers. This for audit purposes.

What I'm missing is a datamodel, so unsure which tables to get the data from, and how to link them together.

I have the same question (0)
  • Suggested answer
    Bharani Preetham Peraka Profile Picture
    3,634 Moderator on at

    Can you check workflowtrackingstatustable?

  • Suggested answer
    Mohit Rampal Profile Picture
    12,573 Moderator on at

    Hi Robin, Here is a SQL query which can be leveraged

    www.axug.com/.../viewthread

    Also, check this thread for some pointers

    community.dynamics.com/.../workflow-history-report-for-external-audit-purposes

  • R Muilwijk Profile Picture
    129 on at

    Thanks for the links and info, this is however not what I am looking for. As far as I can see the SQL shows historical approvals.

    what I need to retrieve is current workflow configuration, with the data as mentioned in my original post. Any help is welcome.

    Note: we have almost 200 entities configured, this is why I am trying to query on all the workflows.

  • Mohit Rampal Profile Picture
    12,573 Moderator on at

    Got it, A workflow configuration will include record in many tables like WorkflowTable, WorkflowActionTable, WorkflowElementTable, WorkflowVersionTable etc. You would need help from Developer to find relationship in Workflow tables. I can't find any article that can help you.

    Note: You can see all workflow configurations in a legal entity from System Administration-->Workflow-->All workflow configuration

  • R Muilwijk Profile Picture
    129 on at

    thanks, will try some queries myself, if I manage to get something working, I'll share it here

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

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

#1
André Arnaud de Calavon Profile Picture

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

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 543

#3
CP04-islander Profile Picture

CP04-islander 430

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans