KM

Hi,

I'm having an issue where the script doesn't read value type attributes correctly, instead of returning the set value as a string the script returns [(Untitled)]. This affects all value type attributes and this issue only started in ARIS 9.7.1, didn't have this issue with previous ARIS 9 versions.

What's weird is that running the same script on the same data in ARIS 9.7.0.5 returns the correct value of the attribute, but in ARIS 9.7.1 it returns [(Untitled)]

Anyone having a similar issue? Could suggest a way to resolve this?

by Bharat Bajaj
Posted on Tue, 05/19/2015 - 15:34

Hello Kabelo, 

We are facing the same issue. I have already raised a ticket with Software AG but haven't heard back.

Cheers,

Bharat

0
by Andrew Fath
Posted on Wed, 05/20/2015 - 12:51

Are these attributes 'user defined' if so this could be the problem.

We have found with ARIS 9.7 SR1 and 9.8 that all user defined attributes no longer have the API Constant (eg. Constants.AT_USER_ATTR7). So now you need to reference the attribute using the 'UserDefinedAttributeTypeNum()' command which takes the attribute GUID and returns the relevant attribute type number.

 

0
by Kabelo Mangole Author
Posted on Wed, 05/20/2015 - 14:17

I had previously tried that and the script still returns [(Untitled)].

In the script:

var method = ArisData.ActiveFilter();

var aProcLevel = method.UserDefinedAttributeTypeNum("023cc590-eaba-11e2-7e8d-18a905457ba8");

And during debugging:

% aProcLevel

68311

% oFunction.ObjDef().Attribute(aProcLevel, g_nLoc).getValue()

(Untitled)

0
by Kabelo Mangole Author
Posted on Fri, 05/22/2015 - 14:49

Issue seems to be resolved in ARIS 9.8(1002440), script can correctly read value type attributes and other user-defined attributes.

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