CR

Hi everybody, 

I have been developing a script to update a by reading an Excel. The structure of my design is a combination of models, having objects with assigned models which i have to dig in in order to insert my data. 

When I finally get the final model where I'm going to create my objects, I'm not able to create a connexion between the father of the herarchy and my new object (While the connexion between the two object types is defined in the model selected connections). Is there a way to know why I can't create that connexion? The function only gives me a null return and I have no clue of which error I'm making.

 

Tank you.

Conrad Romagosa.

by M. Zschuckelt
Posted on Tue, 05/16/2023 - 09:45

Please check the filter you used to login to the database. Make sure the connection type is allowed for the pair of symbols in the model type where your are trying to create the connection. If you are using the entire method filter, check the ARIS method, that this connection type is available for this pair of symbols in the model type.

Also check, that the user running the script has got write permissions on the group of the model and the groups where the objects are that you are connecting, though I'm not sure, if the latter is really necessary. You can find out by modelling manually with the permission configurations.

0
by Conrad Romagosa Author
Posted on Tue, 05/16/2023 - 10:54

I'm creating other objects and connexions in the same model, so I have permissons to write. Also, my symbols and connexions are defined in my model properties (see image attached), this are some things that come to my mind:

- Does the top object of the Organizational chart have any restriction to be modified?

- Can the PointList parameter in CreateCxnOcc be a problem? I'm using a java.awt.Points list with (0,0) and (1,1).

PD: I added the connexion creation code and the values so you can see what I'm doing.

 

 

0
by M. Zschuckelt
Posted on Tue, 05/30/2023 - 17:44

Hello,

there is nothing that distinguishes a "top object" from any other object occurrence. They are equal citizens. I would suspect, that your dummy point list might be a problem. Have you tried an empty point list there? You might take a look at a "real" point list from something you modelled by hand in order to learn, which points are expected there.

You can query it from an existing CxnOcc with getPoints().

0
by Conrad Romagosa Author
Posted on Wed, 05/31/2023 - 12:12

I've tried and nothing changed, even when I try to create the connexion in the Model in the drag-and-drop view I can`t even make the connexion (I attach a picture showing it) despite the connexion is defined in the Model type properties.

 

File attachments
0
by M. Zschuckelt
Posted on Fri, 06/02/2023 - 10:23

This behaviour is a strong indication that your current method filter does not allow the connection. When you extend the ARIS method in any way, at first the new method element is available only in the Entire Method filter. You have to add the new element (e.g. the connection) to the method filter you are actually working with in the database.

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