Creating a workflow

These documentation pages are no longer maintained. Please visit the new documentation site.

We'll create a simple workflow. It will be used to ensure the approval of guestbook entries made by anonymous users. The following list of steps should take you through it.

  1. Log into the administration interface.
  2. Click on the "Setup" tab.
  3. Click on "Workflows" (from within the menu on the left hand side).
    A list of workflow groups will appear.
  4. Click on the "Standard" group.
    An empty list should appear.
  5. Press the "New workflow" button.
    The "Editing workflow" page will appear.
  6. Provide a custom name for this new workflow (fill out the name field). For example, you could call it "Guestbook entry approval".
  7. In the events section, set the dropdown box to "Event/Approve".
  8. Click the "Add Event" button.
    A new event will be added to this workflow.
  9. Feel free to type something into the description field. You may also leave it blank.
  10. Set the "User who approves content" list to "Administrator user". This field is used to define the target user (the user that will be doing the approval).
  11. Select the "Guestbook section" (set it in the sections field).
  12. Set the "Excluded users and groups" to "Administrator users".
  13. Press the "OK" button.

That's it. You have now created a workflow definition.

Comments

Contents

Building an eZ publish site

Prerequisits
Situation
Creating the TSCM site
Testing the interfaces
Setting up the main layout
Creating sections
The welcome page
The news page
The members page
The guestbook
    Creating the content class
    Adding content
    Creating the template
    Adding an action button
    Making the button work
    The input template
    Testing the guestbook
    Implementing an approval mechanism
    Modifying the entry page
    Creating a workflow
    Connecting the workflow to a trigger...
    Approving entries
    The "runcronjob" script
The links page


Created

20/11/2003
11:42:09 am
by Balazs Halasy

Last updated

23/11/2004
1:12:10 pm
by Raymond Bosman

Authors

Balazs Halasy
Raymond Bosman



This page is part of the eZ Publish documentation. The documentation is available under the GNU Free Documentation License. All contributions will be released under the terms of this license.