CreateProcessInstanceFromFolderByXML

Description

This handler allows the user to start process instances from XML files. One instance is started per XML file. The information contained in the XML is transferred as process variables.

 


Class

com.dooris.bpm.actionhandler.CreateProcessInstanceFromFolderByXML

 

Parameter

Parameter

Default value

Description

Valid examples

Parameter

Default value

Description

Valid examples

Definition

 

The name of the definition from which the instance is to be started must be specified here.

 

Path

 

The path to the XML file must be specified here. This may be either a path directly to an XML file, in which case only the specified file is used. This may also be a path to a folder, in which case all XML files in the folder will be used.

The path must be given with “/” for Unix servers and with “\” for Windows

 

Pattern

 

Here the user can specify the name in which the instance name should be located.

 

 

XML Example

<root> <Variables> <variablenName1>Here is the variable content</variablenName1> <variablenName2>Here is the variable content</variablenName2> <instanceName>InstanceName</instanceName> </Variables> </root>

 

If a process variable containing the value of the pattern is found, the process instance will be named after this value. If this is not the case, the instance will be named after the located file.

 

Example

 

Dependencies

Timer: https://tim-doc.atlassian.net/wiki/spaces/eng/pages/228561696