The central Papyrus WebRepository stores and manages all business rules needed for the document and its business process. The business users can set, define and change the business rules from within Papyrus Desktop and reflects the decisions and exceptions to company rules. These defined rules can then be reused across different document applications and their process.
• |
|
Rules can act on a process |
|
- |
Agent executes Rules to modify document values |
|
- |
Agent moves Tasks through steps (Queues) |
• |
|
Rules can modify the document structure |
|
- |
‘Factory’ adds objects to the Task |
• |
|
Rules can constrain the document |
|
- |
Restrict certain methods whilst document is in state ‘draft’ |
• |
|
Examples |
|
- |
WHEN CUSTOMER AGE is greater than 18 THEN INSERT ‘Car Brochure’ in ENVELOPE ‘Monthly Statement’ |
|
- |
WHEN PARAGRAPH ‘A’ USED THEN ALSO USE ‘B’ |
|
- |
WHEN STATE EQUALS ‘error’ THEN MOVE to ErrorQueue |