Hi there:
     Does the <doneflag> of input event support batch number and other 
variable? How to set the doneflag of input event with batch number and other 
variable?
For example, I have a multi-batch job, at about 5minutes interval, every batch 
has a trigger file which follows below naming rule:
${uppersystem}_${batchno}_ trigger

Here is a part of my coordinator.xml
    <datasets>
        <dataset name="input1" frequency="${coord:minutes(5)}" 
initial-instance="2017-10-01T00:00Z" timezone="UTC">
            
<uri-template>${inputPath}/${tableName}/${YEAR}${MONTH}${DAY}</uri-template>
                     <done-flag>${uppersystem}_${batchno}_ trigger</done-flag>
        </dataset>
        <dataset name="output1" frequency="${coord: minutes(5)}" 
initial-instance="2017-10-01T01:00Z" timezone="UTC">
            
<uri-template>${outputPath}/${tableName}/${YEAR}${MONTH}${DAY}</uri-template>
        </dataset>
</datasets>
    <input-events>
        <data-in name="input-1" dataset=" input1">
            <instance>${coord:current(0)}</instance>
        </data-in>
    </input-events>
    <output-events>
        <data-out name="output" dataset=" output1">
            <instance>${coord:current(0)}</instance>
        </data-out>
    </output-events>



Any ideas is welcome


Hui Luo


Reply via email to