I have an onboarding user workflow, and one of the steps is to wait for user verification by signal. I want to apply a workflow run timeout to the workflow, and I would like to perform some cleaning tasks on timeout.
WorkflowRunTimeout by definition is a timeout that terminates workflow without giving it any chance to perform the cleanup. Don’t use run or execution timeouts for business-level timeouts. Use a workflow timer to code any application specific cancellation and cleanup logic.