common-new-item-workflow-event
Add a new workflow history entry to a Sitecore item by ID or path, with optional state, language, database, and comment for audit tracking.
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. |