Environment: On premises only
Context Object Parameters
Parameter Name | Type | Read/Write | Comments |
---|
Policy | String | Read | Policy name. |
Sample
The following sample shows you how to check the object description using the PLMPreCheckTransferOwnership rule.
/*The following rule is an example of what can be done*/
/* ----------------- */
/* Declare */
/* ----------------- */
Let DescriptionValue=""
Let Idx=-1
/* ----------------------------------------------------------------------------- */
/* Retrieves the object description and searches for specific string sequence */
/* ----------------------------------------------------------------------------- */
DescriptionValue = ThisObject->GetAttributeString("V_description")
Idx = DescriptionValue->Search("input description")
if (Idx >= 0)
Validation = true
else
Validation = false