Create a new module with workflow in AX:

Hi,
How to Create a New Module with Workflow:
Dynamics AX 2009:

In Microsoft Dynamics AX, modules are enabled for workflow. However, in some cases, you will need to create a new module that contains workflow. In each module that contains workflow, a Workflow configurations form menu item must be added to the Setup pane. The following procedures are described in this topic:

Creating a new module enumeration.

Creating a display menu item for the Workflow configurations form.

Creating a menu for the new module.

How to display the new menu in the client.

To add a module to the ModuleAxapta base enum

In the Application Object Tree (AOT), expand the Data Dictionary node, expand Base Enums, right-click ModuleAxapta, and then click New Element. A new enumeration displays under the ModuleAxapta node.

Right-click the new enumeration, and then click Properties.

In the Properties sheet, select the Label property, and then enter the label of the new module.

To create a display menu item for the Workflow configurations form

In the AOT, expand the Menu Items node.

Right-click the Display node, and then click New Menu Item. A new menu item displays under the Display node.

Right-click the new display menu item, and then click Properties.

In the Properties sheet, set the following properties.

Property

Value

Name

Set to WorkflowConfigurations where is replaced by a reference to the name of the new module. For example, you could set this value to WorkflowConfigurationRecruit for a new module named Recruiting.

Label

Set to @SYS105185 or another label that represents the text for the workflow configurations form in the client.

ObjectType

Set to Form.

Object

Set to WorkflowConfigurationList.

EnumTypeParameter

Set to ModuleAxapta.

EnumParameter

Set to the enum created in the preceding procedure.

SecurityKey

Specify a valid security key for the new module. This property is required for workflow.

In the AOT, right-click the new display menu item, and then click Save.

After the new module enum and display menu item are created, you can add them to the Menus node.
To create a menu for a new module

In the AOT, right-click the Menus node, and then click New Menu. A new menu displays under the Menus node.

Right-click the new menu, and then click Properties.

In the Properties sheet, set the following properties.

Property

Value

Name

Set to a label or name of the new module.

Label

Set to a label that represents the text to display for the new menu in the client.

SecurityKey

Specify a valid security key for the new menu. This property is required for workflow.

In the AOT, right-click the new menu, point to New, and then click New Submenu. A submenu node displays under menu node created in the previous step.

Right-click the new submenu node, and then click Properties.

In the Properties sheet, set the following properties.

Property

Value

Name

Set to @SYS2186 or another label that represents the text for the Setup pane in the client.

Label

Set to @SYS2186 or another label that represents the text for the Setup pane in the client.

SecurityKey

Specify a valid security key for the new submenu. This property is required for workflow.

NormalResource

Set to 3478. This will display the Microsoft Dynamics AX icon for the setup pane.

In the AOT, right-click the Setup node created in the previous step, point to New, and then click New Menu item. A new menu item displays under the Setup node.

Right-click the new menu item, and then click Properties.

In the Properties sheet, set the MenuItemName property to the display menu item created in the previous procedure.

In the AOT, right-click the new menu item, and then click Save.

After the menu for the new module is created, you must add a reference to the menu in the MainMenu node to display the menu in the client.
To add a menu to the client

In the AOT, expand the Menus node, right click MainMenu, point to New, and then click Menu reference. The Select: Menu window is displayed.

In the Select: Menu window, select the new module menu that you created in the previous procedure, and drag the menu to the MainMenu node in the AOT.

In the AOT, right-click the MainMenu node, and then click Save.

Advertisements

5 thoughts on “Create a new module with workflow in AX:

  1. It’s appropriate time to make some plans for the longer term and it’s time
    to be happy. I’ve learn this submit and if I may just I want to recommend you some fascinating issues or advice. Maybe you could write subsequent articles referring to this article. I desire to learn more things about it!

  2. certainly like your web-site but you have to check the spelling on quite
    a few of your posts. Many of them are rife with spelling problems and I in
    finding it very troublesome to inform the truth then again I will surely come again again.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s