Hi All,
I have the following Situation:

I want to see all capabilities of each linked Item definition. As you see in the picture, the OCL script will only evaluate the first element in the "Item allocation (derived)".
What is the reason? Do I need to use something like: forEach ....?
here the two profile properties:
Item allocation (derived):
self.malfunctions.mediniGetContainer().oclAsType(sysml::SysMLActivity).getProfilePropertyValue('user_allocated_items').oclAsType(hazard::PlainItem) capability derived:
self.oclAsType(hazard::HazardousEvent).user_item_allocation_derived.oclAsType(hazard::PlainItem)->collect(e|e.user_capability)
best regards,
Sven