Temporal Schedule: Unable to query workflow due to Workflow Task in failed state

Hi Temporal team,
We recently encountered this issue for temporal schedule: Unable to query workflow due to
Workflow Task in failed state. This error is also stopping us if we want to deploy a new pod for that schedule workflow. Do you have any idea why it was generated and how should we fix it?

Best regards,
Jx

Hi @jxwang

I don’t think this should happen, could you provide a way to reproduce this?

Antonio

Hi @Antonio,

What we have done we have each activity and workflow deployed as microservice. As the development goes on, we have constantly develop new changes for both activity and workflows and deploy for new versions. But for schedule workflow no breaking or non-deterministic changes. We did not not make any deployment for Cassandra or temporal server neither. After we delete the schedule and recreate, the issue is gone now. We are trying to figure out what scenarios, this issue or behavior might come?

Best regards,
Jx

Thanks @jxwang

let us know if this happen again, it would be great to have a reproduction so we can create an issue to the temporal repository

Thank you

This happened when one of the temporal Cassandra pod crashed and data corrupted. Now the issue is we cant delete the schedule using cli