ProductWorkflowStateChanged:CurrentState.Name
Version: - stringSummary
Returns Name of current state.
Settings
Related to state Name defined in MC-PIM-Workflow-a Workflow.
Examples
Outputting the template tag
@GetString("ProductWorkflowStateChanged:CurrentState.Name")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("ProductWorkflowStateChanged:CurrentState.Name"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("ProductWorkflowStateChanged:CurrentState.Name");
}
Outputting the template tag
<!--@ProductWorkflowStateChanged:CurrentState.Name-->
Check if string has a value
<!--@If Defined(@ProductWorkflowStateChanged:CurrentState.Name)-->
Let's output this tag here: <strong><!--@ProductWorkflowStateChanged:CurrentState.Name--></strong>
<!--@EndIf(@ProductWorkflowStateChanged:CurrentState.Name)-->