In addition to creating the different statuses, it is also possible to create a series of actions to be triggered whenever a document enters, leaves or is saved in a new status.
To define an action and all of its parameters:
Navigate to the [Setup & Administration] module of the 'Projects' database, [Setup] tab Select «Workflow» from the «Setup» view
Locate the desired Workflow definition from the list and expand it to display all of its statuses
The association of a workflow to a document type is done in the Document type setup documents.
Select the status the new action will be created for by placing a check in the box next to its title
Click ‘New action’ on the action menu bar
A ‘Workflow settings – Action’ document will open
Run a formula
Only if the selected option in the ‘Action’ field is ‘Run a formula’, will the formula fields be visible.
Send an e-mail
If the selected option in the ‘Action’ field is ‘Send an email’, the email option fields will be visible.
Run an agent
The following fields are visible if ‘Run an agent" is selected in the ‘Action’ field.
Create a document
The following fields are visible if ‘Create a document" is selected in the ‘Action’ field.
Change the status of an existing document
The following options are available if "Change the status of an existing document’ is selected in the ‘Action’ field.
Note: This action cannot modify the current document. It will raise an error, as the document is
instantiated in the interface