--- title: "Is mobile" slug: "core-is-mobile-rule" updated: 2026-04-13T06:01:44Z published: 2026-04-13T06:01:44Z canonical: "docs.lobstersoftware.com/core-is-mobile-rule" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # Is mobile > [!NOTE] > Rule types – Abstract > > **Purpose:** Is 'passed' if the current browser session was classified as accessed from a mobile device when logging in by means of the `userAgent` string. > > > [!TIP] > > Tooltip > > > > - **Usage**: Depending on the return value of this rule, suitable forms can be selected for mobile devices, for example, or the mimics and logic contained therein can be optimized. ![images/download/attachments/201666011/image-2025-3-28_15-56-2-version-1-modificationdate-1743173762627-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2025-3-28_15-56-2-version-1-modificationdate-1743173762627-api-v2.png) This rule applies precisely when the session is classified as being accessed via a mobile device. This rule may be used, e.g. in [Association criteria](/v1/docs/en/core-association-criteria), to assign specific forms or other adapted configurations for 'mobile sessions'. A session is regarded as 'mobile' if the `userAgent` string provided by the browser application contains clues suggesting this. This information is evaluated automatically upon login to **Lobster Data Platform/Orchestration**. **NOTE:** Many browsers provide test functionality for simulating the appearance of web content on various mobile devices or for specific screen sizes, and will generate respective `userAgent` strings. For testing with **Lobster Data Platform/Orchestration**, it is important that [Is mobile](/v1/docs/en/core-is-mobile-rule) rules will respond correctly if the login is renewed each time simulation mode is entered, switched or terminated. ## Configuration The [Is mobile](/v1/docs/en/core-is-mobile-rule) rule does not use any parameters. ## Example The following screenshots show the appearance of a login dialog in a simulation mode for mobile phones, and a custom alert which is only triggered if the [Is mobile](/v1/docs/en/core-is-mobile-rule) rule is passed: | ![images/download/attachments/201666011/image-2025-3-28_16-8-50-version-1-modificationdate-1743174530702-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2025-3-28_16-8-50-version-1-modificationdate-1743174530702-api-v2.png) | ![images/download/attachments/201666011/image-2025-3-28_16-13-55-version-1-modificationdate-1743174835318-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2025-3-28_16-13-55-version-1-modificationdate-1743174835318-api-v2.png) | | --- | --- | Configuration | An event handler is configured as shown on the right: - 'Client logged in' is selected as the **Triggering** **event** (see [Login (Events)](/v1/docs/en/core-authentication-event)). - The **Validating rule** is contested here in terms of the [Is mobile](/v1/docs/en/core-is-mobile-rule) rule. A [Static rule](/v1/docs/en/core-static-rule) has been added in an OR junction. This is ineffective with the switch set to 'OFF' (see image), but can be activated to simulate the effect of the [Is mobile](/v1/docs/en/core-is-mobile-rule) rule when logging on in each session. **NOTE:** If a corresponding simulation is required for the entire system, the definition for the **Validating rule** as a whole should be transferred to an association criterion, which must then be assigned directly at all relevant points or used as a [Sub criterion rule](/v1/docs/en/core-association-sub-criteria-rule). - Accordingly, the **Actions on passed rule** are executed only if the session is classified as 'mobile' according to the browser's specifications: - A [Show alert (Popup)](/v1/docs/en/core-popup-actor) event action displays the specific greeting text seen in the runtime example above. **NOTE:** At this point, a more comprehensive text could also be obtained from the [Localization](/v1/docs/en/core-localization-entry), e.g. to provide information about specific restrictions that take effect at different points in the system depending on the [Is mobile](/v1/docs/en/core-is-mobile-rule) rule (omission of menu items, alternative forms, etc.). | ![images/download/attachments/201666011/image-2025-3-28_15-55-8-version-1-modificationdate-1743173708424-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2025-3-28_15-55-8-version-1-modificationdate-1743173708424-api-v2.png) | | --- | --- |