Good afternoon,

I have a problem while developing a report script in ARIS 7.1 Business Architet. I need to locate a model list, finding it by attribute value. I use this method:

 

(1) db.FindConstants.CID_MODEL, tipi,Constants.AT_ID,locale,myval,Constants.SEARCH_CMP_EQUAL)

where:

  • db is a database object
  • tpi is an array of model type nums
  • locale is my language type num
  • myval is a string, containing the value I'm searching for.

I'm sure that there is at least 1 model matching these criteria, but within the script this method doesn't work.

I've also tried to use the db.createSearchItem and next to use the db.Find(int SearchKind, int[] itemTypes, ISearchItem searchSettings ) but whithout result.

Does anyone know if is there any bugs in Aris Script with this methd?

 

Maggiù Pennarola

 or register to reply.

Notify Moderator