Profile picture for user martin.miskovic

Hello,

I have script in ARIS 7.x for import/export objects and their attributes. This script uses "Type number" to identify attributes of the object, since they are User-defined and have no API name.

I thought this type number is permanent, but I was proved wrong several times. Why is this number changing, despite the fact I did not update ARIS? Could it be caused by changes made in the filter?

Any help will be much appreciated.

Martin



 

by Frank Weyand
Posted on Wed, 09/10/2014 - 11:24

Hi,

in case of user defined attributes, you cannot use the type number as constants. Instead, you need to use the GUIDs of these kind of attributes.

Bye,

Frank

0
by Marcus Bergenstråhle
Posted on Wed, 09/10/2014 - 16:51

Hi,

Instead of type number change the code and use GUIDs as Frank suggested.

The code will look like this (replace GUID with actually GUID for the attribute):

ArisData.ActiveFilter().userDefinedAttributeTypeNum("GUID");

 

0
by Martin Miskovic Author
Posted on Thu, 09/11/2014 - 07:23

Thank you both very much for the solution.

I will try to implement it into the code.

Regards.

Martin



 

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