I updated the JOBI again to add optional validation of the name and path of the target VARA object. To enable these validations, just set one or both of these variables to "YES":
:SET &Validate_Name# = "NO"
:SET &Validate_Path# = "NO"
In our environment, the first three characters of the every AE object are the application prefix.This is a three-character identifier used by application teams to identify their AE objects. Users are allowed to create objects only if the object names begin with the application prefix and are located under a particular folder dedicated to that application prefix. This is enforced with user group-level authorizations. So the additional validations here are just a convenience.
- If
&Validate_Name#
is set to YES, then the target VARA name begin with PFX.
. - If
&Validate_Path#
is set to YES, then the target path must begin with /APPS/PFX
.
In both cases, PFX represents the application prefix.
You can a adjust these validation steps to suit your needs.