Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Work Tasks Extension and Connector for MES 7​.1

Create the add item class workflow

  • Last UpdatedJan 21, 2026
  • 4 minute read

To create a workflow for the Add an Item Class test procedure:

  1. From a web browser, log in to the Work Tasks Enterprise Console as an MES user.

  2. On the left menu, select the Workflows icon.

    The Workflows page appears.

  3. On the action, click New, then select the MES icon.

    A New MES Workflow window appears.

    Work Tasks New MES Workflow dialog.

  4. Complete the fields and options as follows:

    Title

    The workflow title (e.g., ItemClass.Add).

    Description

    A description of the workflow.

    Unique Environment Name

    Select the environment name (e.g., MESDB_MES).

    MES Middleware Machine Name

    Select the MES middleware connection (e.g., mes40).

    Event Name

    Select the event that was created, Prod.ItemClass.Add

    Pre/Post Hook

    Select Post Hook.

    Object Name

    Type item_class.

  5. Select Next and then select Save & Continue.

    The Workflow Options window appears. The option on the workflow tasks defaults to Design the workflow now.

  6. Select Finish.

    A workflow window appears. It includes a Start activity by default.

  7. In the Activities list, click Human Activities.

  8. Select and drag the Information activity onto the window to the right of the Start activity.

  9. On the tool bar, select the Link icon and create a link from the Start activity to the Information1 activity.

  10. Right-click the Information1 activity and select Activity Properties.

  11. In the Actors section of the Activity Properties pane, select the Assign Actor(s) box button.

    The Assign Actor(s) window appears.

  12. Select the User option.

    The User Lookup window appears.

  13. In the list at the upper right, select MES Users.

  14. In the search box, type an MES user and select user_name.user_id in the list.

  15. Select Search.

    The user appears in the Available Resources box.

  16. Select the user and select the right arrow button to add the user to the Selected Resources box.

  17. Select Update.

    The user appears in the Assign Actor(s) window.

  18. Select Update to save the assigned actor and close the Assign Actor(s) window.

  19. In the Notification Contents section of the Activity Properties pane, select the Subject box button.

    The Subject window appears.

  20. In the main box, type New Item Class Created and press Enter.

  21. In the first field list, select XML Variables.

  22. In the second field list, select MESEventData.

  23. Select the third list’s button.

    A tree of available XML variables appears.

  24. Select the item_class_id variable.

    The tree closes and the variable is entered in the third list.

  25. Press Enter to create a new line and then select the Append button.

    The variable is added to the main box.

  26. Use the same procedure to add the following variables to the main box:

    • item_class_desc

    • produced

  27. Select the Update button.

    The Subject window closes.

  28. At the bottom of the Activity Properties pane, select Save and close the workflow window.

  29. In the Workflows window, right-click the ItemClass.Add workflow and select Publish.

    A message appears indicating the status of the publish operation.

  30. Select Close to close the message.

Related Links
TitleResults for “How to create a CRG?”Also Available in