i

Please enable JavaScript to view this site.

Documentation 8.7

Access methods are used to retrieve items or access specific functionalities.

Access Method

 

 

Name

Description

Result

$d.executeRule(name, version, params, callback)

It allows to execute an advanced Rest API-type rule.

 

Parameters

String name: Rule name

Number version: Rule version

Object params: Object where the rule parameters are sent

Callback callback: Function that is executed after performing the operation

 

Example:

 

  $d.executeRule("generateResponseAboutDocumentation", 1, {

       'pQuery': query,

       'pTemplate': template,

       'user': user,

       'pEnvironment': environment,

       'pResponse': answer,

   }, (response, error) => {});

--

Send us your comments
Share on X Share on Linkedin Send by Email Print