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 job workflow

  • Last UpdatedJan 21, 2026
  • 3 minute read

Design and configure a sequence of activities that define process logic within the Work Tasks environment. Build workflows that automate tasks, manage data, and interact with MES systems.

Create a workflow for the Add a Job test procedure

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

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

    The Workflows page appears.

  3. On the action, select New, then select the Workflow icon.

    A New Workflow window appears.

    Work Tasks Enterprise Console New Workflow window.

  4. Type the title (for example, Job.Add), and then select Save and Continue.

    A success message appears.

  5. Select Close.

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

    Work Tasks Workflow Options dialog.

  6. Select Finish.

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

  7. In the Activities list, select Engine Activities.

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

    Work Tasks workflow window highlighting the Update Variable activity.

  9. On the Activities menu, select MES.

  10. Select and drag the MESXMLCommand activity onto the window to the right of the UpdateVariable activity.

    Work Tasks workflow window highlighting the Update XML Variable activity

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

  12. Create another link from the UpdateVariable1 activity to the MESXMLCommand1 activity.

    Work Tasks workflow window highlighting the linked activities.

  13. Right-click the link between the UpdateVariable1 and MESXMLCommand1 activities and select Updated.

  14. Right-click the MESXMLCommand1 activity and select Activity Properties.

  15. In the Configuration section of the Activity Properties pane, select the Generate Command box button.

    Work Tasks workflow window highlighting the activity properties pane.

    The Generate Command window appears.

  16. In the Unique Environment Name list, select the environment (for example, MESDB_MES).

  17. In the Stateless API/SP Reference box, begin typing Prod.Job.Add until that entry appears in the list and select it.

  18. Select the Generate Input XML Variable check box and type job_input in the box.

  19. Select the Generate Output XML Variable check box and type job_output in the box.

    Work Tasks Generate Command window.

  20. Select the Generate XML Variables button.

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

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