Escaping Braces
Opening and closing braces {} are interpreted as starting and ending a placeholder item. As a consequence, to display braces escape sequences must be used specifying the back slash if braces are part of the fixed text, an escape sequence must be used \{ or \}
Composite format string placeholders
SFHub supports a quite extensive set of placeholders, including the ability to define any valid expression; please refer to the SFHub Analytic Guide for additional details.
| Placeholder | Description |
|---|---|
| {Name} | This placeholder is replaced with the name of the current element. |
| {Template} | This placeholder is replaced with the name of the template associated with the current |
| {attribute.DR} | This placeholder, ending with .DR, is replaced with the name of the plugin configured for the attribute. |
| {attribute.UOM} | This placeholder, ending with .UOM, is replaced with the name of the unit of measure. |
| {$Variable} {$$Variable} {enum} | This placeholder is replaced with the content of the analytic or element variable. If the code block is inside a for or a for each loop, the enumerator name can be specified as well. |
| {InputPath} | This placeholder is replaced with the input path of the current element. Format: element \ element .. |
| {OutputPath} | This placeholder is replaced with the output path of the current element. Format: element \ element .. |
| {AttachedPath} | This placeholder is replaced with the path of the attached element. |
| {PreviousElement} | This placeholder is replaced with the name of the previous element. |
| {TopElement} | This placeholder is replaced with the name of the root element. |
| {CaseStart} {CaseEnd} | This placeholder is replaced with the case start time or end time. |
| {TransferStart} {TransferEnd} | This placeholder is replaced with the transfer start time or end time if the element is a transfer |
| {transfersource} {transferdestination} | This placeholder is replaced with the transfer source element name or destination element name if the element is a transfer. |
| {Expression} | This placeholder is replaced with the value of the expression. |