Reputation: 265
I need to have a scheduled publishing agent that publishes all items that are in final state of workflow.
I have used following agent in web.config: agent type="Sitecore.Tasks.PublishAgent" method="Run" interval="00:02:00".
But still they are not getting published. In database publishQueue table is showing items with action value skipped. Do I need to add any action item under approved state(final state)of workflow?
Upvotes: 0
Views: 427
Reputation: 265
Finally was able to find the cause of issue.Value of Publishing.checksecurity was true in web.config. Publishing was happening with Sitecore/anonymous user and Publishing.checksecurity was preventing the publish.
Upvotes: 1