The publisher isn't able to resolve a reserved minor version component. The component meets the approval status and includeworkflow is marked true. I expect it to publish with a dynamic ct. The same component publishes with the ct, when it becomes a major version.I'll paste the code soon, as I don't have access to it now. Anything wrong with this conceptually?

  • How are you publishing the minor version component ? Is this a part of workflow automatic activity step or publishing manually?
    – Ram G
    Aug 20 '13 at 16:27
  • 1
    I've gotten a confirmation from customer support, that they see the same issue and RnD will be consulted. Aug 21 '13 at 21:54
  • FYI - There is a hotfix available for this issue, thanks to R&D and support to provide the fix. Aug 28 '13 at 22:23
  • Good to hear. Could you please add the hotfix details, so it will be helpful for other? link to hotfix or hotfix number would be great.
    – Ram G
    Aug 29 '13 at 12:47
  • Sure Ram. The hotfix number is TT86104. Its basically replacing the DLL Tridion.ContentManager.Publishing.dll. The instructions on how to deploy are with the hotfix delivered. Not sure of the location where its uploaded. Support can provide that info. Thanks. Aug 29 '13 at 19:00

In order to publish a minor version (your item is not in reserved state anymore since it is already locked by a workflow) you should meet the following requirements.

  • Your item (bundle) has reached at least the minimal approval status configured in the publication target you are using.
  • You have set up IncludeWorkflow flag to true.
  • Publishing operations are asynchronous, having said that, you don't know for sure when they will be executed since they are queued in the publishing queue. If your activity is setting the approval status and not a previous activity you should finish the activity first and then publish.

You should make sure that your bundle has the approval status before you publish

CoreServiceClient.FinishActivity(ActivityInstance.Id, new ActivityFinishData() {
    Message = FinishMessage,
    NextAssignee = NextAssignee != null ? new LinkToTrusteeData() { IdRef = NextAssignee.Id } : null
}, ReadOptions);

CoreServiceClient.Publish(itemsToPublish, PublishInstruction, publicationTargets, Priority, ReadOptions);
  • The owner of the changes and activity also mattered at least for 2011 (see explanation on Pro Webmasters). Is this the same for 2013 (i.e. when minor changes are made by someone else)?
    – Alvin Reyes
    Aug 20 '13 at 19:09
  • By default the items published via Workflow are published using the NT Authority account.
    – Eric Huiza
    Aug 20 '13 at 19:14
  • Eric - Thanks for checking on this particular issue :) .. atleast now we can regenerate the issue Aug 21 '13 at 21:56
  • 1
    It seems that Bundle.GetItems() is not returning New items during the resolving phase.
    – Eric Huiza
    Aug 22 '13 at 0:17

If you publish manually it always publish the major version. To publish the minor version you could add an automated task (use assembly or c# code) to publish the minor item.

Check these links :


http://erichuiza.blogspot.com/2012/12/quick-review-for-tridion-2013-workflow.html (check the Publish Activity code snippedt)

  • Hi Ram - I'm publishing the bundle through an external activity which has include workflow set to true. Aug 20 '13 at 16:34
  • you mean the automatic activity? It would be helpful if you could explain the workflow process and the code.
    – Ram G
    Aug 20 '13 at 16:41
  • Hi Ram - The process is simple here.. Create a Bundle and a minor version component. Add it to the Bundle. Create a minor version page. Add that minor version component to the page as a CP via browsing the Bundle. And add the page to the same Bundle. Start workflow on the Bundle and Publish the bundle to a target meeting the approval status usign an external activity, does not publish the page neither the component with a dynamic CT. hope this explains the problem statement in detail. Aug 26 '13 at 19:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.