Wait

Within a flow service that invokes multiple services, I need to “wait” for a period of time between the 1st and 2nd steps. Would appreciate any suggestions.

Thanks.

We have a little java utility that takes a time in milleseconds that looks something like this:
// pipeline
IDataHashCursor pipelineCursor = pipeline.getHashCursor();
pipelineCursor.first( “sleepTimeMillis” );
long sleepTimeMillis = Long.parseLong ((String) pipelineCursor.getValue());
pipelineCursor.destroy();

try
{
Thread.currentThread ().sleep (sleepTimeMillis);
}
catch (InterruptedException ie)
{}
Hope this helps.

Your java utility works beautifully.