Write Scripts on AVEVA Batch Management Objects
- Last UpdatedOct 29, 2024
- 1 minute read
You can enhance the AVEVA Batch Management objects by using scripts. The scripts can vary from having phase logic perform specific actions (for example, send and receive email, load parameters from Excel, and so on), to triggering events, to building display information. The scripts can reference the object attributes directly, but they can also reference metadata stored on the objects as XML. This metadata can be used to determine (programmatically) the attributes that exist on a specific object instance. It can also contain other information not found in attributes, such as control button labels, phase type, parameter type, unit of measure, and so on.
For more information on working with the ApplicationObjects’ XML metadata, see the object help. To access the help, right-click the object and then click Object Help. See the "Example of Scripting" section.
For more information on scripting phase logic actions, see the Wonderware Developer Network for Tech Note named "Tech Note 933 - Scripting the InBatchPhase Object" and example .aaPkg file.