ProductWorkflowStateChanged:PreviousState.Name

Version: - string  

Summary

Returns Name of previous state. 

Settings

Related to Name of state difined in MC-PIM-Workflow-a Workflow.

Examples

Outputting the template tag

@GetString("ProductWorkflowStateChanged:PreviousState.Name")

Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetString("ProductWorkflowStateChanged:PreviousState.Name"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ string storedTag = GetString("ProductWorkflowStateChanged:PreviousState.Name"); }

Outputting the template tag

<!--@ProductWorkflowStateChanged:PreviousState.Name-->

Check if string has a value

<!--@If Defined(@ProductWorkflowStateChanged:PreviousState.Name)--> Let's output this tag here: <strong><!--@ProductWorkflowStateChanged:PreviousState.Name--></strong> <!--@EndIf(@ProductWorkflowStateChanged:PreviousState.Name)-->