YD

Hello Community,

I have encountered a problem of ArisData.getSelectedObjOccs();

No matter how many objects I choose at the beginning (Context is set to function), the length of the returned list is always zero. However if I use ArisData.getSelectedObjDefs(), the length of the returned list is exactly the number of objects I have chosen.

I would like to know if I have made some mistakes using this function.

Thank you!

by Kay Fischbach
Posted on Mon, 02/11/2019 - 11:40

Your described method behavior seems similar to what I've encountered in ARIS Connect in combination with ARIS 10 SR3. There I could write a report, execute it in an Architect/Designer client environment and get the behavior you'd expect (object occurrences to work with), and execute the same report in the ARIS Connect environment to get different results - the results you described above (no object occurrences, only object definitions).

I guess it's a bug.

Could you describe your environment a bit (used ARIS version, executing the Report in Connect or in the client,..., whatever else comes to mind)?

Just to get misunderstandings out of the way, you are opening a model, selecting one or more object occurrence(s) and starting a report from there, aren't you?

0
by Ye Ding Author
Posted on Mon, 02/11/2019 - 12:32

In reply to by Kay Fischbach

Hi Kay,

thank you for your answer.

I am using ARIS 10 and executing the report with client. As what you said, I opened this report and choosed some of the objects and then started the report.

If this is a bug, is there any workaround to solve it?

Thanks!

0
by Kay Fischbach
Posted on Mon, 02/11/2019 - 14:53

In reply to by WorkingOnAris

Wait. You opened the report (through the "Administration" tab > "Evaluations" > "Reports" > ...), run it by going to the "Debug" tab > "Run" and then picked objects? But that's picking objects from the explorer, of course those are object definitions you are getting.

In explorer-groups you'll mostly find models and object definitions (there are also shortcuts, matrix-models,..., but mostly you'll find models and object definitions). You can not pick object occurrences from the dialog that you open from within the report editor. An object occurrence can be imagined as anchor point within a model, it anchors the data that you store in an object definition (outside the model) to a specific point within your model.

Try the following: open a model (through the "Explorer" tab, log into a database and open a model), right click click on an object occurrence > "Evaluate" > "Start report...". Then pick your report from the list of reports, and run it.

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