This script is part of the SQL Scripts for Microsoft Dynamics GP where I will be posted the scripts I wrote against Microsoft Dynamics GP over the 19 years before I stopped working with Dynamics GP.
This script was created to allow a client to easily review the workflow step assignments.
/*
Created by Ian Grieve of azurecurve | Ramblings of an IT Professional (http://www.azurecurve.co.uk)
This code is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0 Int).
*/
SELECT
['Workflow Tasks Table'].Workflow_Name
,['Workflow Tasks Table'].WorkflowInstanceID
,['Workflow Tasks Table'].WorkflowTaskAssignedTo
,['Workflow Step Instance Table'].Workflow_Step_Status
,['Workflow Step Instance Table'].Workflow_Step_Assign_To
,['Workflow Instance Master'].Workflow_Status
,['Workflow Instance Master'].Workflow_Originator
FROM
WFI10004 AS ['Workflow Tasks Table'] --Workflow Tasks Table (WFI10004)
INNER JOIN
WFI10003 AS ['Workflow Step Instance Table'] --Workflow Step Instance Table (WFI10003)
ON
['Workflow Tasks Table'].WorkflowInstanceID = ['Workflow Step Instance Table'].WorkflowInstanceID
INNER JOIN
WFI10002 AS ['Workflow Instance Master'] --Workflow Instance Master (WFI10002)
ON
['Workflow Tasks Table'].WorkflowInstanceID = ['Workflow Instance Master'].WorkflowInstanceID
Click to show/hide the SQL Scripts for Microsoft Dynamics GP Series Index
What should we write about next?
If there is a topic which fits the typical ones of this site, which you would like to see me write about, please use the form, below, to submit your idea.
Looking for support or consultancy with Microsoft Dynamics GP?
I no longer work with Microsoft Dynamics GP, but the last company I worked for was ISC Software in the UK; if you’re looking for support or consultancy services with Microsoft Dynamics GP you can contact them here.