admin管理员组文章数量:1130349
I am using Google Cloud Workflows to orchestrate a series of tasks. I need to ensure that a Cloud Function is called at the end of the workflow execution, regardless of whether the workflow completes successfully, fails, or is cancelled.
I could use a try-catch block in the workflow and call a function at the end of the workflow. This would work for workflows that complete successfully or fail. However, it might not work for workflows that are cancelled.
Do you have any more robust solutions for this?
Thanks in advance,
I looked into Eventarc, but I'm not sure if an event for the end of execution exists.
I am using Google Cloud Workflows to orchestrate a series of tasks. I need to ensure that a Cloud Function is called at the end of the workflow execution, regardless of whether the workflow completes successfully, fails, or is cancelled.
I could use a try-catch block in the workflow and call a function at the end of the workflow. This would work for workflows that complete successfully or fail. However, it might not work for workflows that are cancelled.
Do you have any more robust solutions for this?
Thanks in advance,
I looked into Eventarc, but I'm not sure if an event for the end of execution exists.
本文标签:
版权声明:本文标题:How to ensure a Cloud Function is called at the end of a Google Cloud Workflow execution (success, failure, or cancellation)? - 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://it.en369.cn/questions/1740148967a1720604.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。


发表评论