Environment: Cloud only General InformationThis opening ID is a precommit trigger. For more information about the specifities of a precommit trigger, see About Precommit Triggers.
Input Objects
Context Object ParametersNo context object parameters. Sample
Trace(1, "Execution MyCATRule on ", ThisObject.PLM_ExternalID ) Report("Information", "infoMsg", "description changed to #", ThisObject.description ) if (ThisObject.description == "error") { Parameters.Message = "This is an error" Validation = false } else { Report("Warning", "warnMsg", "This is a warning") ThisObject.SetAttributeString("PLMEntity.V_description", "modified by script") Validation = true } |