Status Control
Customising Status Control using PML
:
Customising the StatusProjectHandler PML Object
: Methods to Add Checks and Abort Changes
Methods to Add Checks and Abort Changes
All of the Before … methods can be used to make additional checks and can abort the operation by returning an error message, such as to prevent a status change if a particular condition is not met. A variable has been provided for this purpose, e.g.
!returnMessage =
|Status error: You may not delete a controlled object|
By default, the only check made in the statusProjectHandler is to prevent a general user from deleting a controlled object.
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.