General InformationThis opening ID is invoked to get the value of standard attributes for a list of items. This business rule may be triggered multiple times to compute the standard attribute values for a list of items. This will be triggered for all items created during analysis and for selected items to update in panel after an action.
Input ObjectsInput objects must be of the following types:
Context Object Parameters
Sample
let iList(List)
let AttrList(List)
let listAttrValue(List)
let oAttrValue(List)
let oAttrName(List)
let item (L2PItem)
let index(Integer)
let lsize(Integer)
let innerindex(Integer)
let sAttributeName(String)
let sAttributeValue(String)
let sMessage (STRING)
set iList = Parameters.GetAttributeObject("ListInputObjects")
index = 1
innerindex=1
set lsize = iList.Size()
for index while index <= lsize
{
listAttrValue.RemoveAll()
AttrList.RemoveAll()
set sAttributeName = "ExpectedSegregation"
set sAttributeValue = "Test Segregation"
listAttrValue.Append(sAttributeValue)
AttrList.Append(sAttributeName)
set sAttributeName = "ExpectedExternalDiameter"
set sAttributeValue = "10"
listAttrValue.Append(sAttributeValue)
AttrList.Append(sAttributeName)
oAttrValue.Append(listAttrValue)
oAttrName.Append(AttrList)
}
Parameters.SetAttributeObject("ListStandardAttributeNames", oAttrName )
Parameters.SetAttributeObject("ListStandardAttributeValues", oAttrValue )
| |||||||||||||||||||||||||||||||