Documentation > CMS Template API Library > Asset > WorkflowStatus
WorkflowStatus
Gets the Status object representing this asset's workflow.
Type
CrownPeak.CMSAPI.Status
Value
The workflow status.
Code Example
C#
Sample:
Asset myAsset = Asset.Load("/PathTo/Asset"); if(myAsset.IsLoaded) { Out.WriteLine("Asset is in the " + myAsset.WorkflowStatus.Name + " state."); }