| Previous | Next |  | Contents | Index | Glossary

## TOKEN

Syntax

`procedure TOKEN`

        (token_name in varchar2,

         token_value in varchar2);

Description

Defines an error token and substitutes it with a value. Calls to TOKEN( ) and RAISE( ) raise predefined errors for Oracle Workflow that are stored in the WF_RESOURCES table. The error messages contain tokens that need to be replaced with relevant values when the error message is raised. This is an alternative to raising PL/SQL standard exceptions or custom-defined exceptions.

Arguments (input) | token_nameName of the token.
token_value | Value to substitute for the token.

### See Also

RAISE

CONTEXT

| Previous | Next |  | Contents | Index | Glossary