DI Jint

From Apps for Creatio

There are specific commands in the Javascript Engine (JINT) relating to Creatio Only.

  1. getGUID
 - Parameters (a) COLLECTION (b) FILTER
 - returns GUID value
 EG
  >var _accInGuid = di.getGUID("AccountIndustry","name eq 'Business Services'");'');


  1. getLookup
 - Parameters (a) COLLECTION (b) GUID
 - returns NAME field value from COLLECTION 
 EG
  >var _accInName = di.getLookup('AccountIndustry','Id eq '11111111-1111-1111-1111-1111111111111'');