Macromedia live cycle 7.2 Manual

Page of 123
Adobe LiveCycle
Invoking LiveCycle Assembler Using LiveCycle Workflow and Watched Folder
Installing and Configuring LiveCycle for JBoss
 Creating a JobConfig.xml file     110
Example C.1
A JobConfig.xml file for a dynamic DDX file
<?xml version="1.0" encoding="UTF-8"?>
<process-config xmlns="http://adobe.com/watchedfolder" 
xmlns:xsi="http://www.w3.org/2001/ XMLSchema-instance" 
xsi:schemaLocation="http://adobe.com/watchedfolder 
C:\WatchedFolder\schemas\JobConfiguration.xsd">
<process-type>myworkflow</process-type>
<process-variables>
<process-variable>
<filter-pattern>*.pdf</filter-pattern>
<process-variable-type>map</process-variable-type>
<process-variable-name>inputdocmap</process-variable-name>
<process-variable-datatype>document</process-variable-datatype>
<process-input>true</process-input>
</process-variable>
<process-variable>
<filter-pattern>*.ddx</filter-pattern>
<process-variable-type>single</process-variable-type>
<process-variable-name>inputddx</process-variable-name>
<process-variable-datatype>document</process-variable-datatype>
<process-input>true</process-input>
</process-variable>
</process-variables>
</process-config>
Example C.2
A JobConfig.xml file for a static DDX file
Use the same JobConfig.xml described previously, but omit the 
<inputddx>
 process variable.
<?xml version="1.0" encoding="UTF-8"?>
<process-config xmlns="http://adobe.com/watchedfolder" 
xmlns:xsi="http://www.w3.org/2001/ XMLSchema-instance" 
xsi:schemaLocation="http://adobe.com/watchedfolder 
C:\WatchedFolder\schemas\JobConfiguration.xsd">
<process-type>myworkflow</process-type>
<process-variables>
<process-variable>
<filter-pattern>*.pdf</filter-pattern>
<process-variable-type>map</process-variable-type>
<process-variable-name>inputdocmap</process-variable-name>
<process-variable-datatype>document</process-variable-datatype>
<process-input>true</process-input>
</process-variable>
</process-variables>
</process-config>