Event configuration properties
- Last UpdatedJan 07, 2026
- 4 minute read
Use the Wait for MES Event configuration properties to define event filters and specify how the workflow responds when an MES event occurs.
Set event filters
Use this control to select the event that the activity will wait for.
MES workflow events are created using the Workflow Event Creator utility. This utility is provided as part of the MES Connector installation. The utility allows you to specify whether there will be any pre‑ or post‑hook behavior associated with an event.
When this activity executes, the event and its parameters information are stored in the SKEventBindings table. When an MES event occurs, the event binding contents in the SKEventBindings table are validated and processed. After processing the event, the activity will trigger the Event Received activity and the workflow will proceed based on the link condition given from this activity.
-
Select the control button to open the Filter for MES Events dialog.
-
Complete the settings:

-
Unique Environment Name: The Unique Environment Name (UEN) for the MES workflow repository connection that is being used (the UEN is configured using the Workflow Connector Configuration utility). When a UEN is entered here, the MES Middleware Machine Name list will include the names of available MES Middleware servers for that unique environment.
-
MES Middleware Machine Name: The MES Middleware server name.
-
Event Name: Select the MES event on which the activity will wait. You can type characters to begin filtering the list.
Once an event is selected, the Event Parameters mandatory and optional boxes are populated with the event's parameters.

-
Stored Procedure Name: Once an event is selected, this field populates with the name of the corresponding stored procedure.
-
Pre/Post Hook: Specifies whether custom code will be called before (Pre‑Hook) or after (Post‑Hook) executing the stored procedure.
-
Object Name: The MES object name if it is to be used while raising the event.
-
Event Parameters: To set a parameter's value, click its Set Value button. The Set Value for the Event Parameters dialog appears.

You can enter the following types of values:
Value: Manually enter the value.
Variable: Select the variable from the list that appears. The list includes variables that have been assigned to the workflow or its activities.
Content: Select the content from the list that appears.
XmlVariable: Select the XML variable from the list that appears. The list includes XML variables that have been assigned to the workflow or its activities.
When you have finished entering the parameter value, click Update. The value appears in the parameter's value field.
-
-
Select the Save Configuration button to save the event configuration.
Valid for events
Specifies the number of events for which the activity should wait. The default is 1.
Select event XmlVariable
(Optional) Specifies the XML variable for storing event context. When an event occurs, this XML variable is populated with event context data and can be used later in the flow of the process.
-
Select the control button to open the Create MES Event Context XmlVariable dialog.

-
Enter the variable name for a new XML variable or an existing XML variable in the workflow of a similar schema.
-
Select Save & Close to save the variable entry.
If you entered a name for a new XML variable, that variable is added to the Start activity.
Select Hook XmlVariable
(Optional) Sets the hook XML variable for storing hook XML data while raising the event. When an event occurs, this XML variable will be populated with hook XML data and can be used later in the process flow.
-
Click the control button to open the Create MES Hook XmlVariable dialog.

-
Enter the variable name for a new MES hook XML variable or an existing hook XML variable in the workflow of a similar schema.
-
SelectSave & Close to save the variable entry.
If you entered a name for a new XML variable, that variable is added to the Start activity.