Status Control
Customising Status Control using PML
:
Using the Core Status Objects from PML
: Example to Add an Event Handler
Example to Add an Event Handler
The example gets the available status definitions and sets an event handler for the first definition.
!statusManagement = object statusManagement()
!statusDefinitions = !statusManagement.statuses()
!statusEvents = object statusEvents()
!statusEvents.initialise(!statusDefinitions[1])
!statusEvents.addEventHandler('BeforeStatusChange',
!!handlerObject, 'beforeStatusChange')
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.