Difference between revisions of "Template Variables in Workflows"
From LongJump Support Wiki
imported>Evelyn m (Created page with 'Template variables can be used in both subject and body of a template. All the template variables related to the record are shown. The Template Variables section provides a look…') |
imported>Aeric |
||
(4 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
In addition to the typical field-based template variables, these workflow-based variables are also available: | In addition to the typical field-based template variables, these workflow-based variables are also available: | ||
*<tt>$workflow.name</tt> | :*<tt>$workflow.id</tt> | ||
*<tt>$workflow.title</tt> | :*<tt>$workflow.name</tt> | ||
*<tt>$workflow. | :*<tt>$workflow.title</tt> | ||
*<tt>$workflow. | |||
*<tt>$workflow.action_taken</tt> | :*<tt>$workflow.current_state</tt> - Name of current state | ||
*<tt>$workflow.available_actions_for_current_state</tt> | :*<tt>$workflow.previous_state</tt> - Name of previous state | ||
*<tt>$workflow. | :*<tt>$workflow.action_taken</tt> - Name of Action Taken | ||
*<tt>$workflow. | :*<tt>$workflow.available_actions_for_current_state</tt> - Names of available actions in current state | ||
*<tt>$workflow. | |||
*<tt>$workflow.history</tt> | :*<tt>$workflow.current_state_title</tt> - Title (label) of current state | ||
*<tt>$workflow.view_details_link</tt> | :*<tt>$workflow.previous_state_title</tt> - Title (label) of previous state | ||
:*<tt>$workflow.action_title_taken</tt> - Title (label) of action taken | |||
:*<tt>$workflow.available_action_titles_for_current_state</tt> - Titles (labels) of available actions in current state | |||
:*<tt>$workflow.user_comments</tt> | |||
:*<tt>$workflow.owner</tt> - Current record owner(s) | |||
:*<tt>$workflow.history</tt> - History of workflow (a table) | |||
:*<tt>$workflow.view_details_link</tt> - Link to view record details |
Latest revision as of 23:06, 30 May 2013
Template variables can be used in both subject and body of a template. All the template variables related to the record are shown.
The Template Variables section provides a lookup to variables that will personalize the message.
In addition to the typical field-based template variables, these workflow-based variables are also available:
- $workflow.id
- $workflow.name
- $workflow.title
- $workflow.current_state - Name of current state
- $workflow.previous_state - Name of previous state
- $workflow.action_taken - Name of Action Taken
- $workflow.available_actions_for_current_state - Names of available actions in current state
- $workflow.current_state_title - Title (label) of current state
- $workflow.previous_state_title - Title (label) of previous state
- $workflow.action_title_taken - Title (label) of action taken
- $workflow.available_action_titles_for_current_state - Titles (labels) of available actions in current state
- $workflow.user_comments
- $workflow.owner - Current record owner(s)
- $workflow.history - History of workflow (a table)
- $workflow.view_details_link - Link to view record details