Business rule is not working/triggering

Aman63
Tera Contributor

Hi Team,

 

I am trying to execute a business rule after there is insertion in the request table. My business rule is not getting triggered.  

Below is my script :-

Aman63_1-1674029412029.png

 

This is dev instance :- https://dev145852.service-now.com/

Order is 100 for the business rule

Need urgent help on the topic. Please suggest.

 

Thanks,

Aman

6 REPLIES 6

Ankita19
Tera Guru
Tera Guru

Hi,

I guess you didn't pass Rest API name and method name in your script.

var r = new sn_ws.RESTMessageV2(‘RestAPIScriptName, ‘POST’);

Aman63
Tera Contributor

Hi Ankita, Thanks for the reply I am creating the API request in the script only and the main issue is business rule is not even getting triggered.

Yes, Because you didn't pass REst API Name . I shown you as an example in my previous response