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

Link the add job workflow variables to add job form controls

Link the add job workflow variables to add job form controls

  • Last UpdatedJan 21, 2026
  • 3 minute read

You can associate variables defined in a workflow with specific controls on a form. This process ensures that data entered by users in forms is correctly mapped to the workflow’s logic, enabling accurate data transfer and processing within MES-integrated workflows.

Link the workflow variables to their corresponding form controls

  1. In the workflow window, right-click the UpdateVariable1 activity and select Activity Properties.

    The Activity Properties pane appears.

  2. In the Activity Properties pane, select the Set Variable box button.

    The Update Variable window appears.

    Work Tasks Update Variable dialog using to link work varaible to form controls.

  3. Perform the following steps to link each variable to its corresponding form control. For a list of the workflow variable-to-form control link mapping, see the table that follows these steps.

    1. In the Condition column, hover the pointer over Select and select the list box that appears.

      A navigation tree appears.

      Work Tasks Update Variable dialog Condition column navigation tree.

    2. Drill down to the variable to be linked and select it.

      The variable is added to the Condition column.

      Work Tasks Update Variable dialog showing added variable.

    3. In the Value column, hover the pointer over Enter value and select the text box that appears.

    4. Select the tree icon.

      Work Tasks Update Variable dialog highlighting tree icon.

    5. Select the browse icon.

      Work Tasks Update Variable dialog highlighting browse icon.

    6. Drill down to the form control to be linked and select it.

      Work Tasks Update Variable dialog highlighting Value column navigation tree.

      The control is entered in the Value column.

      Work Tasks Update Variable dialog displaying updated variable.

    See the table below for a list of the Job.Add form control names.

    Variable

    Form Control Name

    XmlVariables…request.job.wo_id

    SKFormData.SKRootDefinition.wo_id

    XmlVariables…request.job.oper_id

    SKFormData.SKRootDefinition.oper_id

    XmlVariables…request.job.seq_no

    SKFormData.SKRootDefinition.seq_no

    XmlVariables…request.job.req_finish_time
    _local

    Variable.reqfinishtimevar*

    XmlVariables…request.job.init_sched
    _ent_id

    SKFormData.SKRootDefinition.init_sched
    _ent_id

    XmlVariables…request.job.target
    _sched_ent_id

    SKFormData.SKRootDefinition.target
    _sched_ent_id

    XmlVariables…request.job.qty_reqd

    SKFormData.SKRootDefinition.qty_reqd

    XmlVariables…request.job.qty_at_start

    SKFormData.SKRootDefinition.qty_at_start

    XmlVariables…request.job.rework

    SKFormData.SKRootDefinition.rework

    XmlVariables…request.job.spare1

    SKFormData.SKRootDefinition.spare1

    XmlVariables…request.job.last_edit
    _comment

    SKFormData.SKRootDefinition.last_edit
    _comment

    XmlVariables…request.job.item_id

    SKFormData.SKRootDefinition.item_id

    XmlVariables…request.job.est_prod_rate

    SKFormData.SKRootDefinition.est_prod_rate

    * DateTimes are set to workflow variables created to ensure that they are sent as localtime to the MES database.

    The list of all of the Job.Add links is shown in the following figure.

    Work Tasks Update Variable dialog displaying updated variables.

    Work Tasks Update Variable dialog displaying updated variables.

  4. When all of the workflow variable-to-form control links have been entered, select the OK button to close the Update Variable window.

  5. Select the Save button at the bottom of the Activity Properties pane to save the links.

  6. Close the workflow designer window.

  7. On the Workflows page, select the Job.Add workflow to highlight it (do not select its check box).

  8. On the action bar, select Publish.

    A message appears indicating the status of the publish operation.

  9. Select Close to close the message.

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