Global variables in IPA
This table shows the variables that are delivered with Infor Process Automation:
Variable | Description |
---|---|
_folders | Contains the related links available for the workunit in XML format |
_folders.folder[#] |
The related link item indicated by an index Replace # with the index of link to be retrieved. To retrieve the first item on the list, replace # with 0. Specify 1 for the next item and so on. |
_folders.folder[#].@name | The name of a particular related link |
_folders.folder[#].@type |
The type of a particular related link This could be Classic, Landmark, M3, or URL. |
_inputData | Data passed into the workunit |
_messages | Contains the messages available for the workunit in XML format |
_messages.message[#] |
The message text for the item indicated by an index Replace # with the index of link to be retrieved. To retrieve the first item on the list, replace # with 0. Specify 1 for the next item and so on. |
_messages.message[#].@date | The date the message was created |
_messages.message[#].@name | The subject for the message |
_messages.message[#].@user | The user that created the message |
_ProcessOriginatorEmailAddress | The email address of the user that triggered the workunit |
_service | The service of which the current process is a part |
_user | The user that triggered the workunit |
appProdline | The data area under which the workunit is running |
appsCriteria1 | The first criteria defined under the service trigger |
appsCriteria2 | The second criteria defined under the service trigger |
appsCriteria3 | The third criteria defined under the service trigger |
appsKey | The apps key defined under the service trigger |
appsValue | The apps value defined under the service trigger |
base64.encode(data) | Encode given data to its Base64 format |
base64.encodeToString(data) | Encode given data into a String that uses Base64 encoding scheme |
base64.decode(data) | Decode a Base64-encoded String into a readable data format |
base64.decodeToString(data) | Decode Base64-encoded data into a readable String format |
CFGDIR | The LACFGDIR environment variable |
Description | The work title of the process flow |
ENVDIR | The LAENVDIR environment variable |
isMultiTenant | This resolves to true if the environment is multi-tenant |
landmarkVersion | The version of the IPA environment |
lastErrorCode | The error code from the activity that was last ran |
lastInformationCode | The information code from the activity that was last ran |
lastOutputData | The output data coming from the activity that was last ran |
lastReturnMessage | The message from the activity that was last ran |
LPS_HOME | The path to the LPS directory in IPA |
oCatKey | The filter key defined in the trigger |
oCatValue | The filter value defined in the trigger |
os_arch | The operating system’s architecture |
os_name | The operating system on which the process is running |
os_version | The version of the operating system |
ProcessName | The name of the current process |
translation.translateForLocale(\"\", \"\") |
Placeholder for the code that can be used to translate based on a locale. |
translation.translateForUser(\"\", \"\") |
Placeholder for the code that can be used to translate based on the locale information of an actor ID. |
translation.translateForRecipient(\"\") |
Placeholder for the code that can be used to translate based on the locale information of the recipient of an email. |
translation.translateForEmail(\"\", \"\") |
Placeholder for the code that can be used to translate based on the locale information of an email address. |
WorkUnit | The workunit number for the current process |
If a process has a User Action node, these variables are available:
Variable | Description |
---|---|
_actions | List of actions available in the user action node |
_authUsers | The user that took the action on this user action |
_messages | Any reason code messages for this user action |
_reasons | Any reason codes for this user action |
_tasks | The tasks assigned this user action |
_users | The users assigned this user action |
A Refresh button has been added to the list that shows all of the variables when you press Ctrl + Spacebar in Designer. If any changes have been made to the configuration variables on the server after opening the Designer, you can click this button to update the list with new or changed variables.
Configuration variables are available in the process flow as global variables. These variables can be defined in a configuration set.
See Defining a configuration variable.
This table shows the variables in the "system" configuration set:
Connection configuration | Variables |
---|---|
Infor Lawson |
_configuration.system.Classic.dataArea _configuration.system.Classic.pageSize _configuration.system.Classic.timeout _configuration.system.Classic.user _configuration.system.Classic.webroot |
Custom activity |
_configuration.system.Custom.field1 _configuration.system.Custom.field2 _configuration.system.Custom.field3 _configuration.system.Custom.user |
Event Hub |
_configuration.system.EventHub.LEHhost _configuration.system.EventHub.LEHport |
FTP |
_configuration.system.FTP.host _configuration.system.FTP.protocol _configuration.system.FTP.user |
JDBC |
_configuration.system.JDBC.databaseURL _configuration.system.JDBC.jdbcDriver _configuration.system.JDBC.user |
JMS |
_configuration.system.JMS.connectionFactory _configuration.system.JMS.intialContextFactory _configuration.system.JMS.JMSUser _configuration.system.JMS.jndiPropertyFile _configuration.system.JMS.JNDIUser _configuration.system.JMS.providerURL |
Infor Landmark |
_configuration.system.Landmark.dataArea _configuration.system.Landmark.externalConnection _configuration.system.Landmark.timeout _configuration.system.Landmark.user _configuration.system.Landmark.webroot |
MQ |
_configuration.system.MQ.channel _configuration.system.MQ.external _configuration.system.MQ.host _configuration.system.MQ.port _configuration.system.MQ.specifyUser _configuration.system.MQ.user |
Sys Cmd |
_configuration.system.SystemCommand.cmdTimeout _configuration.system.SystemCommand.cmdUser |
WTx |
_configuration.system.TX.fileExtension _configuration.system.TX.rmiHost _configuration.system.TX.rmiPort _configuration.system.TX.useRMI |
Web run |
_configuration.system.WebRun.dataArea _configuration.system.WebRun.timeout _configuration.system.WebRun.user _configuration.system.WebRun.webroot |