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
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.name</tt>
*<tt>$workflow.title</tt>
:*<tt>$workflow.title</tt>
*<tt>$workflow.id</tt>
:*<tt>$workflow.id</tt>
*<tt>$workflow.current_state</tt>
:*<tt>$workflow.current_state</tt>
*<tt>$workflow.action_taken</tt>
:*<tt>$workflow.action_taken</tt>
*<tt>$workflow.available_actions_for_current_state</tt>
:*<tt>$workflow.available_actions_for_current_state</tt>
*<tt>$workflow.previous_state</tt>
:*<tt>$workflow.previous_state</tt>
*<tt>$workflow.user_comments</tt>
:*<tt>$workflow.user_comments</tt>
*<tt>$workflow.owner</tt> (Owner(s) for current state)
:*<tt>$workflow.owner</tt> (Owner(s) for current state)
*<tt>$workflow.history</tt> (History of workflow in a table)
:*<tt>$workflow.history</tt> (History of workflow in a table)
*<tt>$workflow.view_details_link</tt> (Link to view the record details)
:*<tt>$workflow.view_details_link</tt> (Link to view the record details)

Revision as of 22:48, 19 July 2011

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.name
  • $workflow.title
  • $workflow.id
  • $workflow.current_state
  • $workflow.action_taken
  • $workflow.available_actions_for_current_state
  • $workflow.previous_state
  • $workflow.user_comments
  • $workflow.owner (Owner(s) for current state)
  • $workflow.history (History of workflow in a table)
  • $workflow.view_details_link (Link to view the record details)