is it possible to add a task to a running SOA job?

    Allgemeine Diskussion

  • This is 2012r2 if it makes a difference.

    I have a HPC job that is running, and I would like to be able to add a task to that job and start it.  Is that possible at all?   I found some documentation on using the AddTask function to an existing job, but does that actually work in the context of it being originally invoked as part of a SOA job/DurableSession/BrokerClient?  

    Mittwoch, 14. März 2018 16:42

Alle Antworten

  • Hi Jason,

    SOA jobs are service jobs that have long running service tasks. They cannot add new tasks when they are in running state.

    Btw, why do you need to add more tasks to a SOA job?


    Yutong Sun

    Freitag, 16. März 2018 08:24
  • This is related to the other question I asked where we have tasks that fail where I'd like to update what is remaining in the task to run, and then re-add it to the job to continue running while the other tasks are still going.   

    Thanks for the response!

    Freitag, 16. März 2018 14:53
  • In HPC SOA job, your real tasks are the SOA requests you sent from your Session Client and it is not a 1-1 mapping to the tasks in the SOA job. A task within a SOA job is an instance of your SOA service that started on the compute nodes and is able to accept your SOA requests.

    So you are asking how to add failed requests back to the SOA job? That need to be done by your session client.

    Qiufang Shi

    Montag, 19. März 2018 07:40