chichin
chichin
NNovu
Created by chichin on 11/19/2024 in #💬│support
Can't check transaction status
Hello! We've have a pipeline which triggers the workflow execution. We should cancel that by transactionId. That works using sdk for nodejs:
return this.novu.events
.cancel(transactionId)
.then(({ data: { data } }) => data);
return this.novu.events
.cancel(transactionId)
.then(({ data: { data } }) => data);
However, we can't check the status if that's really cancelled. Dashboard doesn't show the status, just saying worklow steps are pending timeouts (We have delay steps between other steps) The operation above returns false, and no reason explained why. Can we check the operation status before cancellation? E.g., if cancellation returns false, then we will check status. If status = 'cancelled' or something like that, that we'll just ignore that. Thank you in advance!
5 replies