maybe anyone can help me. I am trying to find a String within an object attribute using the Find function:


var Items_Found = db.Find(Constants.SEARCH_OBJDEF, 22, Constants.AT_EXT_1, g_nLoc, search_Term, Constants.SEARCH_CMP_GREATEREQUAL);


This is not working, I never find any result. But if I search for Objects (typenum 22) and compare the search_Term to each object-attribute I find results. Normally for example the search_Term "test" has to be found in an object attribute "testing was finished". The problem seems to be with the compare flag, cause every other parameter is tested and works fine.

What is wrong with this code? Any idea?


Thanks in advance!

by Anja Michalke Author
Posted on Tue, 07/10/2012 - 12:53

This is not working as well:


var searchItem = db.createSearchItem(Constants.AT_EXT_1, g_nLoc, "test*", Constants.SEARCH_CMP_EQUAL, false, true) //case sensitive, allow wildcards


var Items_Found = db.Find(Constants.SEARCH_OBJDEF,null,searchItem);

by Ciska de Jager
Posted on Wed, 07/11/2012 - 06:22

Hi Anja,

As for the first comment:

search_Term = "test*"

var Items_Found = db.Find(Constants.SEARCH_OBJDEF, 22, Constants.AT_EXT_1, g_nLoc, search_Term, Constants.SEARCH_CMP_WILDCARDS);

The second comment however should work.....


by Anja Michalke Author
Posted on Wed, 07/11/2012 - 14:22

Thanks for your answer. The try out of the second comment works, now. :)

by Ali baş
Posted on Thu, 03/13/2014 - 10:34

Hi ,

i am newbie at aris script and i want to know which functions defined at aris, are there a list or document that explain this set of methods?


Featured achievement

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


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