Lesson 5.1: When publishing needs approval
On many sites, an editor's Send for publishing does not publish at once: a colleague has to approve first. This lesson explains what happens to the version in between, and where the author sees it.
At a glance
| Course | Editors 201 |
| Module | Module 5: Approvals and collaboration |
| Duration | 30 minutes (15 presenting, 15 exercise) |
| Level | Intermediate |
| Audience | Editors on sites with approval before publishing |
| Prerequisites | Editors 101, lesson 6.1 (version states) |
Learning objectives
After this lesson, learners can:
- explain what an approval workflow is and when it applies;
- recognize a pending version and find it on My pending items;
- read a pending card: the state of the approval, who sent it, what holds it;
- explain why an approved version may need a few minutes before it is published.
Trainer's notes
How to present it
Sources: Workflows and My pending items.
- The idea (4 minutes). A workflow is a list of steps; an Approve step makes publishing wait until an approver decides. A trigger connects it to publishing ("before publishing content"). An administrator sets it up, and can limit it to some sections, languages, new items or updates, and to some user groups.
- What the author sees (4 minutes). After Send for publishing the version is pending: sent, but held. The site keeps showing the previous published version (or nothing, for a new item). My pending items lists it: the state of its approval, class, location, translation and version, who sent it and when, what holds it, and links such as Open the approval when you take part in it.
- Who decides (3 minutes). Approvers are users or groups named in the workflow. An approver's own content does not need approval.
- The few minutes (2 minutes). After the decision, the workflow cronjob carries on and publishes the approved version; on most sites it runs every few minutes. Until then the version stays pending.
Common questions
My item has been pending for days. Ask the approver. If no approval holds it any more, the pending card says so; then an administrator looks at Setup > Workflow processes.
Can I change a pending version? Not that version. If it is denied, it becomes a draft again and you edit it; if you need to change it before a decision, ask the approver to deny it.
Does every change need approval? Only what the workflow covers: certain sections, languages, user groups, new items or updates.
Pitfalls
- No workflow on the training site. Run
exp:collaborationsampledata(see the module overview) or set up the guide's example before the class. - Approvers in the same group as authors. An approver's own content passes without approval; give authors a separate account.
- Impatience. Explain the cronjob delay before learners think it is broken.
Hands-on exercise
Use the training installation, with an approval workflow that covers the learners' group (the trainer set it up).
- Create an article
Needs approvalin your course folder and press Send for publishing. - Read the message or page that follows.
- Open your course folder: is the article in Sub items? Open the site in a private window: is it visible?
- Open My pending items from the dashboard. Find
Needs approval. - Read its card and write down: the state of its approval, who sent it, when, and what holds it.
- If the card offers Open the approval or Approval and comments, open it and read the page.
- Open Manage versions of the article (if it is listed in your folder) and find the version's status.
Expected result
- The article did not appear on the site; its version is pending.
- My pending items lists it with an approval waiting, sent by the learner.
- The approval page (if opened) says that the content awaits approval before it can be published.
- The trainer checks by opening one learner's My pending items on the projector.

Quiz
- What holds a version back from publishing on a site with approval?
- Where does the author see a version that waits for approval? A. My drafts B. My pending items C. Trash D. Bookmarks
- Why might an approved version need a few minutes before it is on the site?
- True or false: an approver's own content always needs approval by someone else.
- What do you do with a version that has been pending for a week?
Answers
- A workflow with an approval step, started by the trigger "before publishing content" (Workflows).
- B.
- The workflow cronjob carries on after the decision; it runs every few minutes on most sites.
- False. When the publishing user is an approver, the approval step lets the version through.
- Ask the approver; if nothing holds it any more, ask an administrator to look at the workflow processes.
Further reading
- Workflows: approvals, triggers and processes.
- My drafts and my pending items: the pending page.
- Publishing, versions and the trash: pending items in short.
Related pages
- Module 5: Approvals and collaboration
- Editors 201: course overview
- Trainers: start here
- Free documentation: this page is free to copy, translate and improve under the GNU FDL 1.3.
Become an Exponential Partner
Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.