This method returns the value of a process table field.
Parameter |
Type |
Description |
|---|---|---|
$elementName |
string |
Name of the process table field |
$rawValue |
bool |
Flag in order to set if the value should be returned in "raw form" (optional), default value is false
This flag only affects process table fields of type: - Date (TIMESTAMP) (DATE) - Date (DATETIME) (DATETIME) - Attachment (FILE)
If the parameter $rawValue has been passed with the value true, the time is returned with the type date. In contrast to the type Attachment the actual file name is returned on the file system. This should be used to perform file operations. |
The format of the returned value depends on the type of process table column.
Type |
Format |
Example |
|---|---|---|
Text |
Text output |
Text … |
Integer |
Integer output |
1000 |
Decimal |
Decimal output |
1000.00 |
Attachment |
Output of the directory and the file name below the JobRouter upload directory. |
030df2c553e040cc89b943081d682114/test.pdf |
Long text |
Text output |
Text … |
Date |
Output: YYYY-MM-DD |
2012-01-20 |
Example:
$attachment = $this->getTableValue('ATTACHMENT', true);