===== createProcessInstanceByCSVHandler ===== ==== Description ==== This handler reads all of 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. ------ ==== Timer Name ==== any \\ ==== Web service Name ==== ProcessInstanceManager \\ ==== Web service Method ==== createProcessInstancesByHandler \\ ---- ==== Parameter ==== == Process definition == Name of the process definition to-be started. \\ == File path == Path to the folder from which the file is to be read. \\ == Name of the process instance == The name is taken from the columns of the CSV file. For example, is 1˜2 is given with the parameter, the resulting name will be Spalte1Spalte2. \\ == Limit == Here, a maximum for the number of runs that a timer undergoes may be set for the instance. >> **Caution!** The file will not be moved. ---- ==== Example ==== {{:software:tim:timer:fotocreateprocessinstancebycsvhandler.jpg?200|}} Timer Name:\\ TimerForCreateProcessInstancebyCSVHandler\\ Webservice Name:\\ ProcessInstanceManager\\ Webservice Method:\\ createProcessInstancesByHandler\\ Parameter: \\ Handler,Parameter1;Parameter2;Parameter3\\ com.dooris.bpm.beans.impl.CreateProcessInstancebyCSVHandler,/usr/local/tim/jboss/server/default/deploy/loom.ear/loom-portal.war/custom/markus/Markus.csv;InstanceCreationHandlerTestprozess;0~1 ---- ==== Dependencies ==== \\ __Timer__: [[software:tim:timer:|Timer]] \\ __TIM Version__ : [[software:tim:changelog:unbekannt|ERSETZMICH]]