Environment: On premises only
Context Object Parameters
Parameter Name | Type | Read/Write | Comments |
---|
NewObject | PLMEntity |
Read | The object resulting from the new version. |
Policy | String | Read | Policy name. |
Sample
/*The following rule is an example of what can be done*/
/* ----------------- */
/* Declare */
/* ----------------- */
Let newObject (PLMEntity)
Let DescriptionValue=""
/* ----------------------------------------------------------------------------- */
/* Retrieves the object description and searches for specific string sequence */
/* ----------------------------------------------------------------------------- */
DescriptionValue = ThisObject->GetAttributeString("V_description")
DescriptionValue = DescriptionValue + " PLMActionClone"
ThisObject.V_description = DescriptionValue
set newObject = Parameters->GetAttributeObject("NewObject")
if (newObject == NULL) Trace(1, "obj null")
else newObject.V_description = DescriptionValue