Clone Action (PLMActionClone) – DEPRECATED

An opening ID is an entry point used to customize business logic. Clone Action describes conditions to be satisfied when operating the creation of the version. When the check fails, a message can be provided to the end user, explaining the reason why.

Note: For more information about customization by business rules, see Customization by Business Rules.
Warning: This business logic is deprecated, so you should not use it for any new implementations.

This page discusses:

Environment: On premises only

General Information

This opening ID is invoked when creating a new clone of a component.

The table below provides you with information related to the definition of the Opening ID.

Opening ID: PLMActionClone
Environment Availability: Deprecated
Customization intent: Execution
Execution context: Server

Input Objects

Input objects must be of the following types:

  • ThisObject
  • Parameters corresponds to the context object.

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