General Information
Note:
When you associate a business rule with an opening ID, in the fact type cell, you must
select Protected Item. For more information, see Installation and Setup | 3DEXPERIENCE Platform | 3DEXPERIENCE Configuration and Customization | Data Setup | Data Setup | Customization by Business Rules | Associating a Business Rule with an Opening ID, a Fact Type and a Collaborative Space.
SampleWhen classifying or declassifying an item under an IP security class, you need to check its maturity. The following script sample illustrates how to create a business logic for the Released maturity state. If the objects are not in the Released maturity state, it restricts the classification or declassification of these objects. Let ToObject (BusinessType)
Let ToObjectState (String)
set ToObject=ThisObject.GetTo()
ToObjectState = ToObject.current
Trace(1,"Entering the BL--DefaultBLL")
Validation = true
Trace(1, " ToObject State = " + ToObjectState)
if(ToObjectState<>"RELEASED")
{
Validation=false
ReportUXMessage("Error - Only RELEASED state is allowed")
}
Note:
You can set Validation=true and allow classification or declassification of the objects
that are in the Released maturity state.
| |||||||