Workflow Actions

Workflow Actions

Workflow Actions

  • A .NET method invoked as a side effect when an item enters a workflow state or when a workflow command is activated
  • Can run code and perform tasks associated with the workflow state or workflow command

Predefined Workflow Actions

  • Auto Publish Action publishes items automatically when they reach the Final Workflow State.  Will also unpublish or remove items if they are not in the final workflow state
  • Auto Submit Action moves an item to a new state when the action is invoked by a user who has a specific role assigned. Intended for use with the __OnSave workflow command to implement default workflow behavior for Page Editor users who do not have access to workflow commands
  • Email Workflow Action sends an e-mail notification
  • Validation Workflow Action invokes validation rules. If the data does not meet the validation requirements, Sitecore prevents the item from moving to the configured next workflow state

Sources