Hi all,
iam currently trying to produce a process manual with the script wizard. I know how to report single objects and multiple attributes. But my goal is to ouput functions and their CONNECTED objects (in my case business rules and capabilities) including attributes in a table.
Any ideas how to achieve that with script or wizard?
Fernando Navarro on
Hi Roland,
I'm afraid that there's no way to get connected occurrences through Script Wizard. You should use scripting to achieve this.
1. Use the ObjOcc.getConnectedObjOccs( int symbolType) method. This returns an array of object occurrences connected to the object occurrence having the specific symbol type.
2. You can also get the connected objects occurrences finding first the connections between them.
// Gets the outgoing connections of myFunction connList = myFunction.Cxns(Constants.EDGES_OUT); // then gets the target object for each connection for(var i=0; connList.length > i; i++){ targetOcc = connList[i].TargetObjOcc(); }Hope this helps.