NXP-12621: add the posibility to keep 'done' workflow instances