-
Notifications
You must be signed in to change notification settings - Fork 0
System Admin: Workflow API
Author: Bryan Alsdorf
Created: 2004-08-27
The workflow API is used to provide custom functionality to Eventum. The basic idea is when an event happens (new issue, new note, blocked email, etc.) Eventum calls the workflow class specified for that project.
To write your own Workflow class create a file named class.my_name.php
in
config/workflow/
. In that file, create a class named
my_name_Workflow_Backend
that extends Abstract_Workflow_Backend
. Now you
can add methods to that class to handle specific events. You can copy the
method signatures from
lib/eventum/workflow/class.abstract_workflow_backend.php
to get started. An
example workflow implementation is in
docs/examples/workflow/class.example.php
.
Once you have your class created you must set your project to use it.
- Login to eventum with your administrative account.
- Go to
Administration
and click the the name of the project you want to use the workflow class. - Select
my_name
from the dropdown list next toWorkflow Backend
- Click
Update Project
Your project should now be using your workflow class.
Please see lib/eventum/workflow/class.abstract_workflow_backend.php
for the
individual methods you can override.
As Eventum is developed more methods will be added to the workflow class. If you need a new workflow method, or you need more arguments passed to an existing method please email the Eventum development list.
- Installation Process
- Scheduled Tasks
- Other Features Requiring System Setup
- Email Routing Script (route_emails.php)
- Note Routing Script (route_notes.php)
- Draft Routing Script (route_drafts.php)
- IRC Notification Bot (irc/eventum-irc-bot)
- Command Line Interface (cli/eventum)
- Installing on SSL (https)
- Installing with PHP on FastCGI