Hi Gopal,  lets say you have class A with a relationshipset FromClassAToClassB to class B, something like :  ClassA      relationshipset FromClassAToClassB, ClassB, FromClassBToClassA  then, you can have computed attribute CountFromClassAToClassB :  computed attribute int CountFromClassAToClassB  = | FromClassAToClassB |;  then you can use this attribute to raise any event, as any attribute.  HTH,  --Fred 
 I want to trigger an event based on the count of objects in a particular relationshipset. i.e., if the number of objects in a relationshipset is more than say 10, I wish to trigger an event.  Please let me know if it is possible.   With Warm Regards, Gopal 
How to get the number of objects in a relationshipset in another attribute in 
APM?