Difference between revisions of "OKMWorkflow"

From OpenKM Documentation
Jump to: navigation, search
(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'' - If there is a problem
+
* '''ParseException''' If there is an error parsing the forms.xml file.
* ''RepositoryException'' - If authorization fails.
+
* '''RepositoryException''' If there is a general repository error.
* ''DatabaseException'' - If there is an error accessing to repository.
+
* '''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.