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