Workflow In Sitellite
Chapter 4: Standard parameters
The following is a table of all the parameters available for the default event types.
| Parameter | Event | Description |
|---|---|---|
| action | add, edit | The type of action performed (ie. modify, replace, etc.). |
| changelog | add, edit, delete | A summary of the changes performed. |
| collection | add, edit, delete | The collection the item belongs to. |
| data | add, edit | The modified document itself. |
| key | delete | The unique identifier of the deleted object. This may be a single value or a list. |
| message | all | A summary of the event that occurred. |
| transition | all | The event name that triggered the service. |
| username | login, logout | The name of the user. |
As you can see, Sitellite's workflow capabilities are simple and straight-forward, but also very powerful, as you have all the power of PHP combined with the Sitellite Application Framework in your hands. Plus, you can apply your knowledge of writing boxes in Sitellite directly to implementing workflow behaviours as well.




John Luxford