[en] Internal Variables

Official translation unavailable. Translate this page with Google:

[en] Internal variables are predefined by NiceLabel Automation. Their values are assigned automatically and are available in read-only mode. The icon with lock symbol in front of the variable name distinguishes internal variables from user-defined variables. You can use internal variables in your actions in the same way as you would use the user-defined variables. The trigger related internal variables work as internal variables for each trigger.

[en] Internal variable

[en] Available in trigger

[en] Description

[en] ActionLastErrorDesc

[en] All

[en] Provides the description of the last occurred error. Use this value as feedback to host system to identify the fault cause.

[en] ActionLastErrorID

[en] All

[en] Provides the last error ID. This is integer value. When value is 0, there was no error. You can use this value in conditions, evaluating if there was some error or not.

[en] BytesOfReceivedData

[en] TCP/IP

[en] Provides the number of bytes received by the trigger.

[en] ComputerName

[en] All

[en] Provides the name of the computer where the configuration runs.

[en] ConfigurationFileName

[en] All

[en] Provides the path and file name of the current configuration (.MISX file).

[en] ConfigurationFilePath

[en] All

[en] Provides the path of the current configuration file. Also see description for ConfigurationFileName.

[en] DataFileName

[en] All

[en] Provides the path and file name of the working copy of received data. Each time the trigger accepts the data, it makes a backup copy of it to the unique file name identified by this variable.

[en] Database

[en] Database

[en] Provides the database type as configured in the trigger.

[en] Date

[en] All

[en] Provides the current date in the format as specified by system locale, such as 26.2.2018.

[en] DateDay

[en] All

[en] Provides the current number of the day in a month, such as 26.

[en] DateMonth

[en] All

[en] Provides the current number of the month in the year, such as 2.

[en] DateYear

[en] All

[en] Provides the current number of the year, such as 2018.

[en] DefaultPrinterName

[en] All

[en] Provides the name of printer driver, which is defined as default.

[en] DriverType

[en] Database

[en] Provides the name of the driver used to connect to the selected database.

[en] Hostname

[en] TCP/IP

[en] Provides the host name of device/computer connecting to the trigger.

[en] HttpMethodName

[en] HTTP

[en] Provides the method name the user has provided in the HTTP request, such as GET or POST.

[en] HttpPath

[en] HTTP

[en] Provides the path defined in the HTTP trigger.

[en] HttpQuery

[en] HTTP

[en] Provides the contents of the query string as received by the HTTP trigger.

[en] NumberOfRowsReturned

[en] Database

[en] Provides the number of rows that the trigger gets from a database.

[en] LocalIP

[en] TCP/IP

[en] Provides the local IP address at which the trigger responds to. This is useful if you have a multi-homing machine with several network interface cards (NIC), and want to determine to which IP address the client connected to. This is useful for printer replacement scenarios.

[en] PathDataFileName

[en] All

[en] Provides the path in the DataFileName variable, without the file name. Also see description for DataFileName.

[en] PathTriggerFileName

[en] File

[en] Provides the path in the TriggerFileName variable, without the file name. Also see description for TriggerFileName.

[en] Port

[en] TCP/IP, HTTP, Web Service

[en] Provides the port number as defined in the trigger.

[en] RemoteHttpIp

[en] HTTP

[en] Provides the host name of device/computer connecting to the trigger.

[en] RemoteIp

[en] Web Service

[en] Provides the host name of device/computer connecting to the trigger.

[en] ShortConfigurationFileName

[en] All

[en] Provides the file name of the configuration file, without a path, Also see description for ConfigurationFileName.

[en] ShortDataFileName

[en] All

[en] Provides the file name to the DataFileName variable, without the path. Also see description for DataFileName.

[en] ShortTriggerFileName

[en] File

[en] Provides the file name to the TriggerFileName variable, without the path. Also see description for TriggerFileName.

[en] SystemUserName

[en] All

[en] Provides the Windows name of the logged-in user.

[en] TableName

[en] Database

[en] Provides the name of the table as used in the trigger.

[en] Time

[en] All

[en] Provides the current time in the format as specified by system locale, such as 15:18.

[en] TimeHour

[en] All

[en] Provides the current hour value, such as 15.

[en] TimeMinute

[en] All

[en] Provides the current minute value, such as 18.

[en] TimeSecond

[en] All

[en] Provides the current second value, such as 25.

[en] TriggerFileName

[en] File

[en] Provides the file name that triggered actions. This is useful when you monitor a set of files in the folder, so you can identify which file exactly triggered actions.

[en] TriggerName

[en] All

[en] Provides the name of the trigger as defined by the user.

[en] Username

[en] All

[en] Provides the NiceLabel Automation user name of the currently logged in user. The variable has contents only if the user login is enabled.