Dollar-Sign Reference Syntax
You can reference workflow variables inside XML tags and in user interface fields using $() notation. These are resolved into their variable values. For example, if a variable identityName is defined and contains the full name of an Identity, for example, John Smith, an Arg specified as:
<Arg name="FullIdentityName" value="$(identityName)">
passes "John Smith" as the value for the variable FullIdentityName.
When the variable is used alone, it functions the same as specifying value="ref:identityName. However, the more common usage is to include the variable in a longer string such as:
<Arg name="Title" value="Role Update for $(identityName)">
which passes "Role Update for John Smith" as the value for the variable Title.