Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagetext
{workflow:name=Simple Content Production Process}
   {state:Editing|taskable=true|submit=Review}
   {state}
   {state:Review|taskable=true|approved=Published|rejected=Editing}
      {approval:Review}
   {state}
   {state:Published|final=true|taskable=true}
   {state}
{workflow}

Workflow builder can be used to add an approval to the Review state.

...

Once the approval is added, the Approved and Rejected transitions can be added to the state using the workflow builder Transitions editor for the Review state.

...

Info

The Approved and Rejected transitions are only available after an approval has been added to the state.

Published transition

Once content is Published, we generally leave it in that state. However, what happens if someone edits it?

...

Code Block
languagetext
{workflow:name=Simple Content Production Process}
   {state:Editing|taskable=true|submit=Review}
   {state}
   {state:Review|taskable=true|approved=Published|rejected=Editing}
      {approval:Review}
   {state}
   {state:Published|final=true|taskable=true|updated=Editing}
   {state}
{workflow}

...

And when you transitioned to the Review state, did you get stuck?

It's time for the next lesson.

...