Have Batch Worker add a callback to the workflow script
DiRAC calls containers via a script, add a callback before the exit of the script to an endpoint in ESAP to mark the Job done.
FAAI: Worker needs to generate a one time token (when the endpoints get's authenticated) to be able to post to the done end-point.
Edited by Klaas Kliffen