ContextEvents
- Last UpdatedJun 09, 2023
- 1 minute read
This Azure function custom query returns the context events. The custom query expression supports the following parameters:
|
Parameter Name |
Parameter Choice |
Example |
Description |
|---|---|---|---|
|
QueryName |
Required |
ContextEvents |
Azure function query name |
|
SelectColumn |
Required |
["*"] |
Option to pick required properties from MES |
|
Filter |
Required |
"endswith (myFilter,'')" |
Expression to apply filter on the Context events. |
|
StartDateTime |
Optional |
"[RequestedStartTime]" |
Any valid UTC date time value. To leverage [RequestedStartTime] parameter for populating a time defining dimension, you must enable incremental update feature for the dimension. For more information, see Configure an incremental update for a dimension. |
The following properties are returned from the Azure function query for "ContextEvents".
|
Property Name |
Datatype |
Description |
|---|---|---|
|
Namespace |
String |
The equipment namespace. |
|
Equipment |
String |
The equipment name. |
|
StartTime |
DateTime |
The start time (in UTC format) of the context events. |
|
PropertyName |
String |
The name of the property. |
|
PropertyValue |
String |
The value of the property. |
|
AutomationSource |
String |
This parameter is for internal use. |