Business Transformation Customer Forum
Register
Unmasking the Reality of Operational Excellence
Register
ARIS Process Mining in action - Live Demo
Register

View all
AM

Hello,

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);

0
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.....

Ciska

0
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. :)

0
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?

0

Featured achievement

Question Solver
Share your expertise and have your answer accepted as best reply.
Recent Unlocks
  • BH
  • Profile picture for user Ivan.Ivanov.softwareag.com
  • Profile picture for user mscheid
  • MS
  • Profile picture for user syarafuddinhilmi
  • PacMan

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