Template Variables in Workflows
From LongJump Support Wiki
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