void parent(Workflow<Integer> childWorkflow) {
return Workflow.builder("parent", () -> new SimpleWorkflowState())
.next(s -> {})
.forkWorkflow(childWorkflow)
// starting a new workflow may requirer a state mapping
.function(s -> Integer.valueOf(2))
.delay(Duration.ofMinutes(2))
.build()
.next(s -> {})
.next(s -> {})
.build();
}