common-new-item-workflow-event-by-id
Add a workflow history entry for a Sitecore item using its ID to track state changes and actions with comments.
Instructions
Creates a new entry in the workflow history for a Sitecore item by its ID.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The ID of the item to have a new history entry added. | |
| oldState | No | The ID of the old state. If not provided - current item workflow state will be used. | |
| newState | No | The ID of the new state. If not provided - current item workflow state will be used. | |
| text | No | The action comment. | |
| language | No | The language that will be used as source language. | |
| database | No | The database containing the item (defaults to the context database). |