I have a Particiant with Business Function assigned to it. However, the following script fails to find it. Any suggestions as to how to access the ClassID of a concrete class within an Abstract class Collection? Sub CmdInvoke(mgobjSource as MegaObject, intCmdNumber as Integer) Dim col_Elements As MegaCollection Dim col_Functions As MegaCollection Dim obj_Element As MegaObject Dim obj_Object As MegaObject Dim obj_MegaRoot As MegaRoot Dim int_Count As Integer obj_MegaRoot = mgobjSource.GetRoot col_Elements = mgobjSource.GetCollection("Assignment") For Each obj_Element In col_Elements If obj_MegaRoot.GetCollection("MetaClass").Item("Business Function").GetId = obj_Element.GetClassId Then MsgBox "Object is a Business Function" End If Next End Sub
... View more
I have a series of Organisational Process BPMN models in which Business Functions have been assigned to Participants (Swimlanes) and Sub-processes have been positioned with these Swimlanes. I want the relationship between the assigned Business Function and the BPMN Element (Organisational Process) to be automatically updated by placing an Organisational Process on a Swimlane (Participant). After a bit of research is seems to me that the DiagramTypePath is the way to implement such a 'link' between two objects (ie., the Business Function and the Organisational Process) where the relationship is mediated by a third object (i.e. the Participant). However, I am unable to find any documentation as to how to implement a DiagramTypePath. Any pointers on implementing a DiagramTypePath would be greatly appreciated.
... View more