This documentation is archived and is not being maintained.
workflowCategoryStr Function [AX 2012]
Updated: March 9, 2011
Applies To: Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012
Retrieves the name of a workflow category in the Application Object Tree (AOT) as a string.
str workflowcategorystr(category category)
Parameter
Description
category
The AOT name of the workflow category.
A string that represents the AOT name of the workflow category.
Use this function instead of literal text to retrieve a string that contains the workflow category name. If the workflow category does not exist, the function generates a syntax error at compile time.
The following code example sets the variable str s to MyWorkflowCategory which is the name of the workflow category in the AOT
static void MyWorkflowCategoryStrExample(Args _args)
{
str s;
;
s = workflowcategorystr(MyWorkflowCategory);
print s;
pause;
}
Announcements: To see known issues and recent fixes, use
Issue search in
Microsoft Dynamics Lifecycle Services (LCS).