Run business rule only when the record is inserted from Now agent app (Mobile app)

Shanti7
Tera Contributor

Hi, 

I want to create BR which runs only when the record is inserted from Mobile App (Now Agent). So, how do I restrict the BR to run only for mobile actions? 

 

Thank you, 

Shanti

 

 

1 ACCEPTED SOLUTION

Zach Koch
Giga Sage
Giga Sage

You can use the GlideSystem method of gs.isMobile(). Here is a screenshot from the docs page regarding this method. You should be able to use that in your condition.

ZachKoch_0-1722342761421.png

 

If this information helped resolve your issue, please remember to mark response correct and thumbs up to help future community members on this information, thanks!

View solution in original post

3 REPLIES 3

Zach Koch
Giga Sage
Giga Sage

You can use the GlideSystem method of gs.isMobile(). Here is a screenshot from the docs page regarding this method. You should be able to use that in your condition.

ZachKoch_0-1722342761421.png

 

If this information helped resolve your issue, please remember to mark response correct and thumbs up to help future community members on this information, thanks!

Shanti7
Tera Contributor

Thank you Zach, it worked. 

Great! Glad I was able to assist you.

If this information helped resolve your issue, please remember to mark response correct and thumbs up to help future community members on this information, thanks!