SH

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!

by Ariene Kroeze
Posted on Fri, 02/24/2017 - 11:54

Yes, that is possible. 

Cxnobj, xx, typename 

Where xx is the type of the related object. 

Regards, Ariene Kroeze 

0
by Stijn Hubregtse Author
Posted on Fri, 02/24/2017 - 12:51

In reply to by Ariene Kroeze

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?

0
by Ariene Kroeze
Posted on Fri, 02/24/2017 - 14:05

Hi,

xx should be the type number of te related object (in your case 14).

Maybe you can upload (or mail) the template or only a relevant part of it (the table?)

Kind regards, Ariene.

0
by Liju Ram
Posted on Wed, 10/11/2017 - 11:17

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. 

0

Featured achievement

Rookie
Say hello to the ARIS Community! Personalize your community experience by following forums or tags, liking a post or uploading a profile picture.
Recent Unlocks

Leaderboard

|
icon-arrow-down icon-arrow-cerulean-left icon-arrow-cerulean-right icon-arrow-down icon-arrow-left icon-arrow-right icon-arrow icon-back icon-close icon-comments icon-correct-answer icon-tick icon-download icon-facebook icon-flag icon-google-plus icon-hamburger icon-in icon-info icon-instagram icon-login-true icon-login icon-mail-notification icon-mail icon-mortarboard icon-newsletter icon-notification icon-pinterest icon-plus icon-rss icon-search icon-share icon-shield icon-snapchat icon-star icon-tutorials icon-twitter icon-universities icon-videos icon-views icon-whatsapp icon-xing icon-youtube icon-jobs icon-heart icon-heart2 aris-express bpm-glossary help-intro help-design Process_Mining_Icon help-publishing help-administration help-dashboarding help-archive help-risk icon-knowledge icon-question icon-events icon-message icon-more icon-pencil forum-icon icon-lock