Get Active workflow configuration
The below code snippet would help you to get an active workflow configuration in Ax 2009 for a workflow template.
WorkflowConfigurationTable workflowConfigurationTable;
;
select firstonly workflowConfigurationTable
where workflowConfigurationTable.TemplateName ==
workflowConfigurationTable.DefaultConfiguration == NoYes::Yes;
Happy DAXing…………