System Variable
It's a variable defined by the Flow Service previously. A system variable can't be changed. The system variable's types are as below. There is an instruction about how to refer to the system variable for each Flow in "Set and refer to a system variable".
| System variable name (In English) | Discription |
|---|---|
| Design information | |
| Project owner ProjectOwner |
The project's designer name |
| Project name ProjectName |
Project name |
| Project file name ProjectFileName |
Project file name |
| Project file's folder ProjectDirectory |
Project file's folder |
| Flow name FlowName |
Flow name |
| Install directory AsteriaDirectory |
Install directory |
| Owner's home directory OwnerDirectory |
The home directory of the user who created the project |
| Running information | |
| Request ID RequestId |
Request ID |
| Session ID SessionId |
Session ID |
| Execution user name ExecuteUser |
Execution user name |
| Execution user's home directory UserDirectory |
Execution user's home directory |
| Caller Flow's project name ParentProjectName |
If a SubFlow or an Error Processing Flow refers to the system variable, it will be the caller Flow's project name. |
| Caller Flow's Flow name ParentFlowName |
If a SubFlow or an Error Processing Flow refers to the system variable, it will be the caller Flow's Flow name. |
| Error Processing (When an Error Processing Flow refers to the system variable) | |
| Error component name ExceptionComponent |
The name of the component where error happend |
| Error message ExceptionMessage |
Error message |
| Error details ExceptionDetail |
The text of the error details. The content includes the below things.
|
| Error code ExceptionErrorCode |
Error code |
| Error component's type ExceptionComponentType |
The type of the component where an error happened |
| Parameter value 1~5 ExceptionParam1~5 |
The value matched to the parameter name 1~5 set by the error component |
| Paramete name 1~5 ExceptionParamName1~5 |
The parameter name set by the error component |
| Error mapper function name ExceptionFunctionName |
The function name of the mapper where an error happened |
| HTTP request | |
| HTTP request's URL RequestURL |
The execution URL when run the Flow by HTTP ※The server name and the port number isn't included. |
| Caller host name HttpRemoteHost |
The remote host when it's requsted by HTTP |
| Caller address HttpRemoteAddr |
The remote host IP when it's requested by HTTP |
| HTTP server name HttpServerPort |
The name of the HTTP sever which has received the HTTP request |
| HTTP server's port number HttpServerName |
The port of the HTTP server which has recerved the HTTP request |
| HTTP request's method HttpMethod |
The method when the Flow is run by HTTP |
Set and refer to system variable
Set a system variable for each Flow to refer to. The system variable will be shown in the input side of the mapping window after it has been set.
Memo
If you refer to a system variable by a condition expression or the Velocity Component, it's not necessary to select a system variable.