AnsweredAssumed Answered

Boomi sleep timer query

Question asked by ramish.imran777356 on Mar 13, 2017
Latest reply on Mar 13, 2017 by britto.parthalomew

Hi,

 

Is there a way of modifying the below script to simply add a second for the next processing call it does i.e. 

int waitFor =1;

int waitFor = 2+1;

int waitFor = 3+1;

 

import java.util.Properties;
import java.io.InputStream;

int waitFor = 1;

Thread.sleep(waitFor * 1000);

for( int i = 0; i < dataContext.getDataCount(); i++ ) {
InputStream is = dataContext.getStream(i);
Properties props = dataContext.getProperties(i);

dataContext.storeStream(is, props);
}

 

Thanks

Outcomes