Run business rule for Integration and not for all cases

Community Alums
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
Giga 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
Giga 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.