3

I want to make following workflow.

  1. An editor create components and pages, and publishes pages to staging site.
  2. The editor confirms the pages on staging site, and requests an approval to a manager.
  3. The maganer confirms the pages on staging site, and approves them.
  4. The pages are published to live site automatically.

And it's necessary that anyone cannot publish pages to live site by mistake, until "3" is finished. But just after pages are created, anyone who has permission can publish pages to live site.

Is there any good idea to achieve this workflow

Regards,

  • You can set a minimum approval status on the "Live" Publication Target, and then Tridion won't publish anything that didn't reach that status yet. – Nuno Linhares Feb 16 '15 at 14:46
  • What Nuno said, with the proviso that this only applies to items that are still in workflow. So if your page might contain components that are out of workflow, you'll have extra work to do. – Dominic Cronin Feb 16 '15 at 19:51
  • When page or component is newly created, and they get into workflow automatically by associated workflow process,they cannot be published to any target. And if there is no associated process, they can be published to live site before workflow starts,because their approval status is "Undefined".Those are problems. – Hirokazu Shikata Feb 17 '15 at 0:42
3

You may follow below approach:

  • Create a Two Step Workflow using SDL Tridion-Visio Connector and set up appropriate approval group at each step - You can refer this documentation for more details - Workflow
  • Set this workflow for each schema of components and structure group containing pages on which you want to set up the workflow
  • Write an event system and capture the Workflow Activity Finish Event - Write the code to publish the item to staging once the First Workflow Activity is finished and publish it to live once the Second workflow step is approved - You can refer this documentation for more details - Event System

The rest SDL Tridion will take care off itself - It won't allow to publish unless you go through this workflow

  • I would use automated activities instead of event handlers to do the publishing. – Rick Pannekoek Feb 17 '15 at 20:17
  • Yes Rick, another option :) – Pankaj Gaur Feb 18 '15 at 9:35

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.