Sitecore Workflow – Suppressing Comments

When creating your own workflows, you may not always want to require your users to comment.  Sitecore provides an option to Suppress Comment on the actions you create, however checking this box didn’t seem to have any effect .

So out of curiosity, I opened up the Sitecore Kernel with trusty DotPeek.

Looking for the field “Suppress Comment”, I found that it was being checked in Sitecore.Workflows.BasicWorkflowCommandAppearanceEvaluator

Solution

Suppress Comment

Applying this Appearance Evaluator Type to the Command allows this check to take place.

  1. Make sure you’ve selected the Suppress Comment checkbox
  2. On you Command, locate the Field Appearance Evaluator Type
  3. Insert: Sitecore.Workflows.BasicWorkflowCommandAppearanceEvaluator, Sitecore.Kernel

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *