Advanced Customization > Business Logic Customization > Customizations in Type and Attribute Management > Using a BusinessAlgorithm in a Calculated Attribute
  
Using a BusinessAlgorithm in a Calculated Attribute
You want to easily create an attribute whose value is the result of a complicated computation.
Background
You want to define complex calculated attributes that cannot be expressed with the simple OOTB operations available for combining attribute values from a given object. In some cases, the algorithms may be more complex than the basic operations. In some cases the calculation may need to traverse relationships to other objects, often recursively, to accumulate information from a structure. In some navigation, config spec processing may be involved.  In some cases, data from an external system may be required. You want a simple API for defining and implementing these custom algorithms, and want to assign the values of those calculations to an attribute in the Type and Attribute Management utility.
You can implement a BusinessAlgorithm class and easily execute it with a calculated attribute to see the results of your complex calculations in Windchill UIs.
Scope/Applicability/Assumptions
BusinessAlgorithm is only for use with calculated attributes.