Documentation > CMS Template API Library > Transition
CrownPeak.CMSAPI.Transition
Represents a Workflow Transition that occurred for an asset.
| Name | Description | Type |
|---|---|---|
| AssetId | The asset id of the asset that was transitioned |
Property |
| Date | The date the transition occurred. |
Property |
| FromState | The name of the state the asset was in when the transition started. Use Status.Load(string statusName) to get a status object to the get the status id or color. |
Property |
| Reason | A string that describes the reason for the transition. If the transition was the result of a command defined in a workflow such as "Deploy To Live", that will be the value of this string. Other possibilities include, but are not limited to: "Ad-Hoc Route" and "Ad-Hoc API Route" |
Property |
| ToState | The name the asset was in when the transition was completed. Use Status.Load(string statusName) to get a status object to the get the status id or color. |
Property |
| UserId | The userid of the user who performed the transition |
Property |
| UserName | The username for the user who performed the transition |
Property |