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
-
In the workflow window, right-click the UpdateVariable1 activity and select Activity Properties.
The Activity Properties pane appears.
-
In the Activity Properties pane, select the Set Variable box button.
The Update Variable window appears.

-
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.
-
In the Condition column, hover the pointer over Select and select the list box that appears.
A navigation tree appears.

-
Drill down to the variable to be linked and select it.
The variable is added to the Condition column.

-
In the Value column, hover the pointer over Enter value and select the text box that appears.
-
Select the tree icon.

-
Select the browse icon.

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

The control is entered in the Value column.

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
_localVariable.reqfinishtimevar*
XmlVariables…request.job.init_sched
_ent_idSKFormData.SKRootDefinition.init_sched
_ent_idXmlVariables…request.job.target
_sched_ent_idSKFormData.SKRootDefinition.target
_sched_ent_idXmlVariables…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
_commentSKFormData.SKRootDefinition.last_edit
_commentXmlVariables…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.


-
-
When all of the workflow variable-to-form control links have been entered, select the OK button to close the Update Variable window.
-
Select the Save button at the bottom of the Activity Properties pane to save the links.
-
Close the workflow designer window.
-
On the Workflows page, select the Job.Add workflow to highlight it (do not select its check box).
-
On the action bar, select Publish.
A message appears indicating the status of the publish operation.
-
Select Close to close the message.