Re: JobListener weird behaviour

2020-11-24 Thread Till Rohrmann
Hi Flavio, looking only at the code, then the job should first transition into a globally terminal state before notifying the client about it. The only possible reason I could see for this behaviour is that the RestServerEndpoint uses an ExecutionGraphCache (DefaultExecutionGraphCache is the imple

JobListener weird behaviour

2020-11-24 Thread Flavio Pompermaier
Hello everybody, these days I have been trying to use the JobListener to implement a simple logic in our platform that consists in calling an external service to signal that the job has ended and, in case of failure, save the error cause. After some problems to make it work when starting a job usi