Hash Variable
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
- Form Builder
- Datalist Builder
- Userview Builder
- Supported plugin configuration properties
- Activity name in Workflow Designer
- External Form URL when mapping an activity to an external form
to return the value of some useful runtime variables from Joget components.
Available Hash Variables:-
- Assignment Hash Variable
- Current User Hash Variable
- Date Hash Variable
- Environment Variable Hash Variable
- Form Hash Variable
- Internationalization Hash Variable
- Performer Hash Variable
- Request Parameters Hash Variable
- User Hash Variable
- Userview Key Hash Variable
- Workflow Variable Hash Variable
Nested Hash Variable
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:
#prefix.{prefix.variableKey}#
Example:
#date.{envVariable.dateFormat}# #user.{variable.username}.firstName# #form.tableChild.field1[{form.tableParent.childId}]#