Cognos Analytics

 View Only
  • 1.  SDK Rerun Task

    Posted Fri September 08, 2023 10:08 AM

    Hello,


    Actually, i can run job with this command :

    asynchReply =connect.getMonitorService().run(new SearchPathSingleObject("content/MyJobPath/MyjobName"),
    new ParameterValue[] {},
    new Option[] {});


    Running the job works properly but i didn't find how rerun failed step based on history object.

    Does anyone know how to implement this through SDK?

    Thanks



    ------------------------------
    valentin courtin
    ------------------------------


  • 2.  RE: SDK Rerun Task

    Posted Thu October 26, 2023 03:13 AM
    Hello,
     
    I've made a bit of progress, I'm getting the job event id and the historical job name but I can't get it to run again. 
     
    I get the following error: NullPointerException
     
    Have any of you already performed this type of operation?


    ------------------------------
    valentin courtin
    ------------------------------