Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

Run business rule for Integration and not for all cases

Not applicable

I have a business rule written on Incident table. I want this to be executed only when you hit via integration (REST API) . I don't want to run this business rule when you create or update record on Incident form directly (User Interface).

I see a Condition box in Advanced tab of the business rule, how can i achieve this functionality.

1 ACCEPTED SOLUTION

sachin312
Tera Expert

Hi karthik,



I am not sure will it work or not, but Try by putting this !gs.getSession().isInteractive() on business rule advance condition.


View solution in original post

5 REPLIES 5

sachin312
Tera Expert

Hi karthik,



I am not sure will it work or not, but Try by putting this !gs.getSession().isInteractive() on business rule advance condition.