Hallo,
I have tried to create report at aris design platform and i found function constants , but i don't know about all description about function constants. Where can i know about this function?
i want to get EPC model for my output report but i don't know which methode to use.
i was to search at Help Menu's but i can't to found that.
please share your information, and thank you very much for your attantion.
Hello,
in the ARIS Script help you often find method parameters which expect some integer - e.g. a "TypeNum". In the ARIS Script documentation you find the chapter "Methods for reports and semantic checks"/"Constants". There are a lot of Objects with lists of constants. However all those constants can be accessed via the "Constants" object. There are no name conflicts, because all constant objects start their constants with a unique prefix. The model type constant for "EPC" is the API name which you also find in the "Configuration"/"Method"/"Model types" section of the Administration component. Hence it's Constants.MT_EEPC, which resolves to the int value 13. You need not be interested in that value, because your code is better readable when you use the Constants object.