Possible to use signalWithStart(..) or equivalent to start child-workflow with async pattern?

Greetings. Hopefully I can explain my request well enough . . .

From within a workflow: is there a way to use signalWithStart(..) or equivalent to (i) start as a child-workflow using (ii) the async execution/return pattern? Any chance you have an example?

Many thanks!

Sean

For async there is a number of samples:

  1. Async Activity invocation: samples-java/HelloAsync.java at master · temporalio/samples-java · GitHub
    and samples-java/HelloAsyncLambda.java at master · temporalio/samples-java · GitHub
  2. Async Child Workflow: samples-java/src/main/java/io/temporal/samples/asyncchild at master · temporalio/samples-java · GitHub

For within workflow code, you can start child workflow (sync or async) and then signal it (call its signal method).

Greetings. We’ve already coded many child-workflows and activities with async, etc (Temporal makes that super simple!). The question was: how do you do the equivalent of signalWithStart(..)? The signalWithStart(..) call itself doesn’t support async. So I’m wondering if there is a way to chain the start/signal in a more . . . raw/manual fashion.

S

I should try again. It’s easy to start a workflow and then apply a signal. What we need to do, is signal, then call the workflow method (as a child, with an async return).

S