Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,199 of 9,199 pages
About the help in other languages
All help pages

Approval before publishing

How to make every transparency publication wait for a second person's approval in Exponential: the Approve workflow event, the trigger, the cronjob, and how approvers and authors see pending items.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/government/transparency-and-foi/approval-before-publishing.md

On this page

Approval before publishing

This page is for administrators who set up a four-eyes rule for transparency publications, and for the editors and approvers who work with it. Exponential holds a version as pending until an approver decides, with the workflow event Approve. The full reference is Workflows.

Contents

  1. How it works
  2. Setting it up
  3. For authors
  4. For approvers
  5. What is recorded
  6. Problems

How it works

  1. An editor presses Send for publishing.
  2. The trigger Before publishing content starts the approval workflow.
  3. The Approve event creates a collaboration item for the approvers; the version is pending.
  4. An approver presses Approve or Deny.
  5. The workflow cronjob runs again; an approved version is published, a denied one goes back to the author as a draft.

Setting it up

  1. Setup > Workflows: open a workflow group, New workflow, name it ("Transparency approval").
  2. Choose Event / Approve and press Add event. Set:
    • Affected sections: the transparency section;
    • Affected versions: All versions (new and changed items);
    • Groups who approve content: the approvers' user group;
    • Excluded user groups: none, unless a group may publish directly.
  3. OK.
  4. Setup > Triggers: row Before publishing content, choose the workflow, Apply changes. One workflow per trigger; to combine with an existing one use a Multiplexer event.
  5. Check that the frequent cronjob group runs: Setup > Workflow processes shows in its status bar whether the workflow cronjob is scheduled. Without it, approved content is never published.

An approver's own content is let through without approval, so name at least two approvers.

For authors

  • My pending items on the dashboard lists your versions waiting for approval and what holds them (Drafts and pending items).
  • A denied version comes back as a draft; edit and send again.

For approvers

  • Collaboration on the dashboard (/collaboration/view/summary) lists the requests.
  • Open the request, read the version (preview), add a comment if your process wants one, press Approve or Deny.
  • A version waiting for your approval is listed only if you may read it (content/versionread).

What is recorded

The version history keeps who created the version; the audit trail records the publish event in the content channel (Audit trail). Keep in mind that the approval decision itself lives in the collaboration item; check in the audit console on your installation which events it shows before relying on it as the record of approval.

Problems

ProblemFix
Approved items are not publishedThe workflow cronjob does not run; schedule the part with workflow.php
Nothing waits for approvalThe content is in another section than Affected sections, or the author is in an excluded group or is an approver
A process must be stoppedSetup > Workflow processes, Cancel...: the pending version becomes a draft again; no content is deleted

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.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x