OKMWorkflow

From OpenKM Documentation
Revision as of 17:21, 15 September 2010 by Pavila (talk | contribs)

Jump to: navigation, search

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.