0

For long running activities we can use heartbeats to notify whether the activity is running or dead.

We have a workflow that invokes multiple child workflow with some params based on grouping which the parent workflow generates. The child-workflows are long running workflows.
Is there a way to have similar heartbeats sent from child workflows, as these workflows are long running with timeout set as a few hours ? Or rather what is the way to notify the child workflow is running ?

We are using the go-client for implementing the workflows.

4
  • 1
    Can we get some more detail here - what is "go-client", what does "workflow" mean in your context, what sort of heartbeat/timeout are we talking about, are the children separate processes and if so how do they communicate with the parent - any details you can provide would be helpful.
    – Adrian
    Jun 3, 2020 at 18:28
  • 2
    @adrian I would recommend checking out cadenceworkflow.io to get answers to your questions. In the context of the Cadence Workflow the question is absolutely legitimate. Jun 4, 2020 at 3:41
  • @MaximFateev there should be enough context in the question to answer it if you want community volunteers to answer it for free.
    – Adrian
    Jun 4, 2020 at 12:52
  • @Adrian It is exactly what I'm doing. Or only questions that can be answered with 0 context can be submitted to this site? Jun 4, 2020 at 14:59

1 Answer 1

1

Long running activities heartbeat to ensure their timeout in case of a worker failure.

Workflow worker failure doesn't lead to workflow failures. So heartbeating is not necessary.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.