Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
Hash Variables gives users greater flexibility and freedom in accessing useful information or relevant runtime values from the system.
A hash variable is a special hash-escaped keyword that can be used in
to return the value of some useful runtime variables from Joget components.
Available Hash Variables:-
Children Display |
---|
Since version 3.0.3, a Hash Variable can be used inside another Hash Variable to form a Nested Hash Variable. The syntax for the inner Hash Variable is wrapped by a pair of curly bracket '{' and '}'.
Syntax:
Code Block |
---|
#prefix.{prefix.variableKey}# |
Example:
Code Block |
---|
#date.{envVariable.dateFormat}#
#user.{variable.username}.firstName#
#form.tableChild.field1[{form.tableParent.childId}]#
|
To get workflow activity information of the current assignment.
To get user information of the performer of an activity.
To get activityDefId (activity definition ID), mouse-over on the activity name in Activity Mapping tab (Workflow Management Console), and there will be an overlay showing the ID.
To get data from form table.
For examples:
Code Block |
---|
#form.registration.registeredDate#
#form.issuedDate#
|
To get the value of a workflow variable.
For example:
Code Block |
---|
#variable.approvalStatus#
|
To get date time according to a specified format.
For examples:
Code Block |
---|
#date.h:mm a# // 12:08 PM
#date.EEE, d MMM yyyy h:mm:ss a# // Wed, 4 Jul 2009 12:08:56 PM
|
To get user information based on username.
For example:
Code Block |
---|
#user.admin.email# |
Apart from all of the existing Hash Variables supported in Joget version 2 as described above, these are the new hash variables supported in this new version 3.
...