Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Unanswered

SQL for Workflow Conditions

(0) ShareShare
ReportReport
Posted on by
We need an SQL to list the /Conditions/ we see in /Workflow Maintenance/ screen in Microsoft Dynamics GP Version 18.6. I'm able to find a few tables and fields that make work, but unable to get exactly what is needed. Where can I find this information in the backend SQL Server Database and what SQL script would provide the information needed?
 
Please see attached screenshot for what I'm looking for and the items I tried below.
 
The first field I found is the /Workflow_Where_Clause/ field in the /WFI10002/ table. This seems similar, but not sure if this is correct because it does not easily translate to what I see in the screen. 
 
SELECT TOP 10 [Workflow_Type_Name], [Workflow_Name], [Workflow_Where_Clause] FROM [WFI10002]
 
The second field I found is the /Workflow_Step_Conditions/ field in the /WFI10003/ and /WF100003 tables. This seems logically to be correct, but the values returned in a crypted GUIDString format.
 
SELECT TOP 10 [Workflow_Name], [Workflow_Step_Name], [Workflow_Step_Conditions] FROM [WFI10003];SELECT TOP 10 [Workflow_Name], [Workflow_Step_Name], [Workflow_Step_Conditions] FROM [WF100003];

 
//
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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,031 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,868 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans