Quantcast
Channel: Reports & Macros
Viewing all articles
Browse latest Browse all 1118

get connected objects for "role"

$
0
0

Hi ARIS community!
I am trying to use the following method,

 var aConObj = commonUtils.search.searchConnectedObjOccs( p_oObj, p_oObj.Cxns( p_nDir, p_nCxnType) )

I am calling the above "searchConnectedObjOccs" method to get the connected object occurrences.
For example,for "input" the value of p_nDir will be "Constants.EDGES_IN" and p_nCxnType will be "Constants.EDGES_NONSTRUCTURE"

Similarly, for output the value of p_nDir will be "Constants.EDGES_OUT" and p_nCxnType will be "Constants.EDGES_NONSTRUCTURE".
I am successfully getting the input and the output related objects from this method.

But, I want to get the object occurrences based on the connection,
for example if a "role" object has a "provides input for" connection TO a process,i want to access the name of the "role" object using the 
If "role" object has an "accept" connection FROM a process,i want to access the name of the "role" object.

Can anyone please tell me a method that can help me out with the above question.
 

Regards.

 

 


Viewing all articles
Browse latest Browse all 1118

Trending Articles