Customize Attribute Identifier (RFLP_GenerateFlowTypeIdentifier)

An opening ID is an entry point used to customize business logic. The RFLP_GenerateFlowTypeIdentifier business logic allows to customize the interface identifier, by providing a default value.

The interface identifier can be customized through the RFLP_FlowTypeInstanceIdentifier_Sample.CATRule file. This file is provided by default.

Note: For more information about customization by business rules, see Installation and Setup: Customize: Behavior: Data Setup: Customization by Business Rules.

This page discusses:

General Information

This opening ID is invoked when creating an interface.

This opening ID is used to customize the interface identifier.

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

PLM Opening ID: RFLP_GenerateFlowTypeIdentifier
Customization intent: Execution
Execution context:Client

Input Objects

Input objects must be of the following type:ThisObject.

Context Object Parameters

Parameter NameTypeRead/WriteComments
GetAttributeStringType ReadRead the object type.

Sample

The following sample shows how to valuate the instance identifier at creation of flows and types.

Let sType=""
Let sIdentifier=""
Let sUniqueKey=""

/* Getting Unique Key */
sType = Parameters->GetAttributeString("Type")
sUniqueKey = GetUniqueKey(sType)

/* Create the identifier */
if (sType == "RFLPLMFlowExpositionInstance")                     
{      
  sIdentifier = "Flow Exposition Identifier " + sUniqueKey
}                                                                     
else if (sType == "RFLPLMFlowInstance")                     
{                                                                    
  sIdentifier = "Flow Identifier " + sUniqueKey
}
else if (sType == "RFLVPMSystemTypeExpositionInstance")                     
{                                                                    
  sIdentifier = "Type Exposition Identifier " + sUniqueKey
}
else if (sType == "RFLVPMSystemTypeInstance")                     
{                                                                    
  sIdentifier = "Type Identifier " + sUniqueKey
}
       
Parameters->SetAttributeString("Identifier",sIdentifier)