5.10 Adding program-specific attributes
The following explains how to add program-specific attributes to JP1 events.
-
Specify additional event attribute definitions in the additional extended attribute settings file of JP1/Base.
In the additional extended attribute settings file, specify conditions for adding attributes and the extended attributes to be added when the conditions are satisfied.
The specification format for attribute addition conditions is specified using JP1/Base event filters.
The first seven bytes of an extended attribute name must be JP1ADD_.
For details about the additional extended attribute settings file, see the JP1/Base User's Guide.
Example of settings specified in the additional extended attribute settings file:
# Event : Extended attribute adding setting
add
filter
# input Event-filter
B.ID IN 111
end-filter
# input Extended-attribute
E.JP1ADD_SYSTEMNAME SystemA
end-add
-
Start JP1/Base or execute the jevextreload command:
jevextreload [-h event-server-name] {-recv | -send}
The additional extended attribute settings file is enabled.
-
Use the extended attribute E.JP1ADD_SYSTEMNAME as a condition for automated actions and various filters.
For details about the additional extended attribute settings file and the jevextreload command, see the JP1/Base User's Guide.