Difference between revisions of "OKMWorkflow"
From OpenKM Documentation
(Created page with '{{TOCright}} __TOC__ Methods related to workflow creation and management. == void registerProcessDefinition(String token, byte[] pda) == Login into the repository and gets a t…') |
|||
Line 15: | Line 15: | ||
'''Throws''' | '''Throws''' | ||
− | * ''ParseException'' | + | * '''ParseException''' If there is an error parsing the forms.xml file. |
− | * ''RepositoryException'' | + | * '''RepositoryException''' If there is a general repository error. |
− | * ''DatabaseException'' | + | * '''DatabaseException''' If there is a general database error. |
− | * ''WorkflowException'' | + | * '''WorkflowException''' If there is any workflow engine error. |
Revision as of 16:21, 15 September 2010
Methods related to workflow creation and management.
void registerProcessDefinition(String token, byte[] pda)
Login into the repository and gets a token with user info for future API invocations
Parameters
- token - The session authorization token.
- pda - Byte array where process definition can be readed.
Returns
- None.
Throws
- ParseException If there is an error parsing the forms.xml file.
- RepositoryException If there is a general repository error.
- DatabaseException If there is a general database error.
- WorkflowException If there is any workflow engine error.