Task lifecycle

Once a task is created, it is valid in Symphony until one of the following conditions exist:

  • The client collects the output and Symphony receives confirmation that the output was successfully collected

  • The session is terminated, which in turn terminates all tasks

  • The task is killed

You can specify that if a task fails it should be rerun by specifying the taskRetryLimit attribute in the application profile. This informs Symphony how many times it should rerun the task before giving up.

If a task fails, Symphony attempts to rerun the task up to the number of times specified by the taskRetryLimit attribute in the application profile. If the task has not successfully run after n retries, and the abortSessionIfTaskFail attribute is set true in the application profile then the session is aborted. Otherwise, a single task failure does not affect the session. By default, abortSessionIfTaskFail = false.