About this task
You can test a lifecycle policy after you assign it to
a document class.
Procedure
To test a lifecycle policy that is assigned to a class:
- Find the Root Folder folder in the
administration console:
- In the domain navigation pane, click the object store.
- In the object store navigation pane, expand the Browse folder.
- Create and open a test document:
- In the object store navigation pane, right-click the Root
Folder folder and click New Document.
The New Document tab opens.
- On the New Document tab for the Class field,
enter the document class to which you assigned the lifecycle policy.
- Complete the wizard.
- At the end of the wizard, click Open. A tab for the new document opens.
- Verify that the lifecycle policy works as expected for
the test document:
- On the new document tab, click the Lifecycle
Policy subtab.
- On the Lifecycle Policy tab,
change the document state to test the associated actions. For
each state change, the system checks the lifecycle policy and runs
the action that is defined for the change. For example,
to test the email notification actions of the sample lifecycle script:
- ...click Promote to test whether promoting
a document successfully sends a document promotion message.
- ...click Demote to test whether demoting
a document successfully sends a document demotion message.
- ...click Set Exception to test whether
setting the document in an exception mode sends the appropriate message.
- Verify that the actions occurred. For
example, if you used the sample lifecycle script, verify that your
email recipient received the appropriate email for each command issued.
- If any action did not occur as expected, make the necessary
corrections to the lifecycle action and run your test again.
- If all actions occurred as expected, delete the test document.