CreateProcessInstanceFromInputFolder

Description

This Timer reads all the files in a folder, starts a process instance for every CSV file, and names it after the file. The file is then attached to the process.


Webservice Name

ProcessInstanceManager

Webservice Method

createProcessInstancesByHandler

Parameter

Parameter

Description

Parameter

Description

Parameter1

com.dooris.bpm.actionhandler.CreateProcessInstanceFromInputFolder 

Parameter2

Process definition

Parameter3

Path of the document

Parameter4

The path along which the file is to be moved after it has been attached to the process instance

Caution! Please do not forget to put a “,” (comma) between the first parameter (action handler class) and the second parameter (process definition) to separate them! A “;” (semicolon) is used as a separator in the parameters coming thereafter!

 


Example:

 

com.dooris.bpm.actionhandler.CreateProcessInstanceFromInputFolder,REPLACE_ME_WITH_PROCESSDEFINITION;C:\Document\input;C:\Document\backup;