NY
Hi,
I'm an ARIS Cloud Advanced and ARIS Cloud Administration user.
In my ARIS database, the same type of object(Say Role) with the same name is at two instances occurring at many processes. Could you please help me how to run a report to consolidate these two objects into one.
Best Regards,
Naveen
Are you familiar with writing your own ARIS report scripts? The general flow of your program for your usecase would be
- var thatArrayFromStep1 = ArisData.getActiveDatabase().RootGroup().ObjDefList(true, []) to get a list of all your object definitions on your database
- var thatArrayFromStep2 = ArisData.sort(thatArrayFromStep1, Constants.SORT_TYPE, Constants.AT_NAME, Context.getSelectedLanguage()) to sort your array of all object definitions
- Now you can iterate through your thatArrayFromStep2 Array starting with the second element and check whether or not the previous array element has the same object type and object name. Instead of auto-consolidating I would recommend that when you design your report, that you first just write information about matching object definitions to an output file (e.g. their ARIS group path), to get an overview over what the report would do when you tell it to consolidate.
- once you're fine with what the report tells you your matching object definitions are, use ArisData.getActiveDatabase().Consolidate(...) multiple times to consolidate your objected definitions.
Dear Kay,
Could you please confirm whether updating/creating of the report is possible in ARIS Cloud Advanced/ARIS Cloud Administration user.
I'm not familiar with ARIS own script. Could you able to guide me on the creation of the report please by sharing any E-Learning documents/videos.
Best Regards,
Naveen