Mobile devices in scripts testing

Use the gs.isMobile() method to determine whether an action was taken through the mobile UI.

Business rule

To write different messages to the log for actions through the mobile UI and through the standard browser UI, use the following script in a business rule.
if (gs.isMobile())
  gs.print("submitted from mobile UI");
 else 
   gs.print("NOT submitted from mobile UI");

UI Action Conditions (not client)

To prevent a UI action from appearing in the mobile interface, use the following condition.

gs.isMobile()