common-new-item-workflow-event
Adds a workflow history entry to a Sitecore item, recording comments and old/new workflow states by item ID or path.
Instructions
Creates a new entry in the workflow history for a Sitecore item.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The ID of the item to have a new history entry added. Supply this or path. | |
| path | No | The path of the item to have a new history entry added. Supply this or id. | |
| text | No | The action comment. | |
| database | No | Database to resolve an id against (default master). | |
| language | No | The language that will be used as source language. | |
| newState | No | The ID of the new state. If not provided - current item workflow state will be used. | |
| oldState | No | The ID of the old state. If not provided - current item workflow state will be used. |