We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

How to make BR run only for interactive session

SoniaShridhar13
Giga Guru

want to make bR run only for interactive session....Please help how to do it??

2 REPLIES 2

MrMuhammad
Giga Sage

Hi Sona,

In the BR condition field please use below code

gs.getSession().isInteractive();

Above code will ensure interactive session only.

find_real_file.png

Regards,

Muhammad

Regards,
Muhammad

MrMuhammad
Giga Sage

You can alternatively try the below as well.

gs.isInteractive();

Regards,
Muhammad