I'm having a model where there is a object connected to a relationship type object to a other object.
I want to print in my report for every object the name of the relationship type object (this is easily done) but then i also want to print the other connected object of that relationship type object.
Example of my model:
|Object A| --- <HAS> --- |Object B|
Is this possible with prochandbook?
Thanks!
I must be doing something wrong.
When i use Cxnobj, xx, typename
is the xx the type of the relation type (11) or the object the relation type is related with (14)?
Both ways tested and i only get a "x"
The object = 14 and the relationship type = 11 is this helpful information?
I am trying to do similar feat with ARIS Report. I have an object of Function type connected to another object of KPI Instance type. I want to create a table with 2 columns. First column with object of Function type and second column with object of KPI Instance type.
For this i used CxnList function on my object with function type to fetch the relationship. My code is as follows,
var cxn = funcObj[i].CxnList(Constants.EDGES_INOUT)
output.OutputLn("" +cxn,getString("ID_DEFAULT_FONT"),15,RGB(0,0,0), Constants.C_TRANSPARENT, Constants.FMT_BOLD | Constants.FMT_LEFT, 0)
and with the above code, cxn that gets printed is like this
Output cxnlist
CxnDef: ObjDef ID=-
3ERa75mBh_U:p:L-[R]-
ObjDef
ID=7iuw3i8K#GD:p:L,C
xnDef: ObjDef
ID=5dbeI2LNQBi:p:L-
[supports]-ObjDef
ID=7iuw3i8K#GD:p:L,C
xnDef: ObjDef
ID=7RvuBQOrvkJ:p:L-
[activates]-ObjDef
ID=7iuw3i8K#GD:p:L,C
xnDef: ObjDef
ID=7iuw3i8K#GD:p:L-
[activates]-ObjDef ID=-
umXiD23KqN:p:L,CxnD
ef: ObjDef ID=-
17LwwkMHEfR:p:L-[R]-
ObjDef
ID=7iuw3i8K#GD:p:L,C
xnDef: ObjDef
ID=7iuw3i8K#GD:p:L-
[KPI: measured by]-
ObjDef ID=3ZHmYRrPXT7:p:L
I am not sure why the output is like this. Appreciate any help.