Quantcast
Channel: SCN : Unanswered Discussions - SAP Business Process Automation by Redwood
Viewing all articles
Browse latest Browse all 646

getExpectedRunTime

$
0
0

Hello,

 

I select jobs from database and want to display their ExpectedRunTime in a script.

 

it = jcsSession.executeObjectQuery("select j.* from Job j where j.Description like '%Test%' order by j.Description asc");

 

while(it.hasNext()) {

      Job j = (Job) it.next();

      jcsOut.println("Job: " + j.getDescription());

      jcsOut.println("Time: " + j.ForecastJob().getExpectedRunTime());

}

 

But it doesn't work. The jobs will be listed if I remark the last line.

How can I display the ExpectedRunTime of the jobs?

 

Best regards,

Dana Ullrich


Viewing all articles
Browse latest Browse all 646

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>