# Predefined session variables

## Introduction

Each application template has a set of predefined session variables. These variables are visible at the application design stage. The application designer cannot edit or delete these variables. The purpose of these variables is to carry basic information collected during the user’s completion of the application. This data is automatically filled in by the application displaying the form and saved in the repository.

## List of system variables

The system variables and their purpose are listed below:

* `abandonTime` - time when the application was abandoned
* `channel` - the channel through which the user fills out the application (web, mobile)
* `channelDescription` - channel description (desktop: web, mobile: mobile, native application: APP\_Mobile)
* `currentPageId` - number of the currently displayed page
* `currentPageMid` - mid of the displayed page
* `cvc` - parameter displaying the application in a different view, allows additional fields to be placed next to the application
* `domain` - domain of the launched application (host name only, e.g. `form.consdata.com`)
* `finishTime` - time when the user submitted the application
* `finishTimeAfterPayment` - time when the user submitted the application after payment
* `formId` - application name
* `formInstanceNumber` - application number
* `ip` - user's IP address
* `operatingSystem` - operating system name (according to the documentation <https://github.com/lancedikson/bowser/blob/1.7.3/README.md> - for GWT a simplified system detection mechanism is used)
* `paymentResult` - the variable indicates whether the payment was successful (used for payment handling functionality, which is handled by external services)
* `startTime` - time when the user started filling out the application
* `userAgent` - name of the client application
* `visitedPages` - sequence of visited pages
* `__userEmail__` - value of the field with the email address of the user specified in the contact section on the application properties page
* `externalFormContextId` - external application context identifier (case identifier)
* `businessFormIdentifier` - identifier shown in the application view, by default the application number
* `SESSIONKEY` - session identifier
* `browserName` - web browser name
* `cmisObjectId` - stores the identifier that allows the application to be retrieved
* `internalAuthenticationMethod` - authentication method used in a given activity
* `internalAuthenticationPhoneNumber` - phone number to which the SMS was sent / phone number with the authenticator app (OTP-SMS, OPT-PRINTED, MOBILE-APPLICATION)
* `seller` - seller identifier directing to the application in the mobile app
