Hi Team,
We are working on some alerting and monitoring process so we are using some of task related API calls.
We are able to get task state and task stop reason in it but we also need the unique reasons to identify how task is stopped with user id who stop it.
Currently we are just receiving reason as "NORMAL" even if task stopped due to error or user stopped it or any scheduler stop it or any else reason.
Expected result-
We need unique reason like task stopped by user, task stopped by scheduler with user id which stop it even if its system id used for scheduled task.
It will be helpful for us in alerting and monitoring using API calls in python if we get this information as in task details API call.
Thanks
Suraj