ProductWorkflowStateChanged:PreviousState.Id
Version: - integerSummary
Returns ID of previous state.
Settings
The value is generated automatically.
Examples
Outputting the template tag
@GetInteger("ProductWorkflowStateChanged:PreviousState.Id")
Check if tag has a value
@if(!int.IsNullOrWhiteSpace(GetInteger("ProductWorkflowStateChanged:PreviousState.Id"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
int storedTag = GetInteger("ProductWorkflowStateChanged:PreviousState.Id");
}
Outputting the template tag
<!--@ProductWorkflowStateChanged:PreviousState.Id-->
Check if integer has a value
<!--@If Defined(@ProductWorkflowStateChanged:PreviousState.Id)-->
Let's output this tag here: <strong><!--@ProductWorkflowStateChanged:PreviousState.Id--></strong>
<!--@EndIf(@ProductWorkflowStateChanged:PreviousState.Id)-->