3
votes

All of my Content Items in one node have a bad reference to a workflow. I am trying to create one to replace the missing Workflow. I did these steps:

  1. Created a new workflow
  2. Located the common inherited template that all content items in this node use.
  3. In the standard values I chose my new workflow for the "Workflow" and "Default Workflow" fields (I think I just need default, but I am not sure.)
  4. Saved and Smart Published.

The content items still show the GUID for the missing Workflow. I click the template name at the top of the content item, double check the standard values on the template and everything looks great.

How do I force Content Items to retrieve the correct workflow from their Templates?

1

1 Answers

4
votes

It looks like your content items have broken from their standard values which is why your new standard value WF is not getting set. What version of Sitecore are you using? You can use the reset button on each content item to bring it back to the standard value just for the workflow.

  1. Go to the View ribbon and enable Standard Fields
  2. For each content item that has the wrong workflow, go to the Versions ribbon and click the Reset button on the left
  3. In the pop-up scroll all the way down to the bottom Workflow section and check the boxes to reset specific fields
  4. Repeat this process for all of the content items

Another idea is to write code to programatically reset fields or set them to a new WF