currently the org.imixs.workflow.odf.ODFDOMFindReplaceAdapter only supports a single file operation configured in a event in the following way:
<odf-update name="filename">....</odf-update>
<odf-update name="findreplace">
<find>\[contract\.start\]</find>
<replace><itemvalue format="dd.MM.yyyy">contract.start</itemvalue></replace>
</odf-update>
<odf-update name="findreplace">
<find>\[sequencenumber\]</find>
<replace><itemvalue>sequencenumber</itemvalue></replace>
</odf-update>
....
So only one file can be processed. We should change the config format similar to the SplitAndJoin Plugin or the new WOPI Adapter to support multiple file operations like this:
<odf-update>
<filename>file1.odf</filename>
<replace>
<key>\[contract\.start\]</key>
<value><itemvalue format="dd.MM.yyyy">contract.start</itemvalue></value>
</replace>
</odf-update>
<odf-update>
<filename>file2.odf</filename>
<replace>
<key>\[contract\.start\]</key>
<value><itemvalue format="dd.MM.yyyy">contract.start</itemvalue></value>
</replace>
<replace>
<key>\[contract\.end\]</key>
<value><itemvalue format="dd.MM.yyyy">contract.start</itemvalue></value>
</replace>
</odf-update>
currently the
org.imixs.workflow.odf.ODFDOMFindReplaceAdapteronly supports a single file operation configured in a event in the following way:So only one file can be processed. We should change the config format similar to the SplitAndJoin Plugin or the new WOPI Adapter to support multiple file operations like this: