cancel
Showing results for 
Search instead for 
Did you mean: 

VB how to get the derivated class ?

SOLVED
MEGA Partner

VB how to get the derivated class ?

Hello,

I list "System elements" from a "System Used" object. I need to process those objects in different ways considering their class (Application, Service or Feature).

The getClassId() method just get the "System Element" class ID.

Is it possible to get the "derived class" ?

 

Thank you

 

Yves-Marie LE SAUX

2 REPLIES
MEGA

Re: VB how to get the derivated class ?

Hello Yves-Marie

 

From a collection based upon an abstract MetaClass, get a sub collection for a concrete MetaClass with GetType

 

Set cBE = GetCollection("~JW7j6VRt9H40[BPMN Element]")
Print "Number of BPMN Element objects: " & cBE.count()
Set cOP = cBE.GetType("~gsUiU9B5iiR0[Organizational Process]")
Print "Number of Organizational Process objects: " & cOP.count()
Jerome
MEGA Partner

Re: VB how to get the derivated class ?

Many thanks