withStartToCloseTimeout(5); return yield Workflow::executeActivity( 'SimpleActivity.echo', [$input], $opts )->then(function ($result) use ($opts) { return Workflow::executeActivity( 'SimpleActivity.lower', ['Result:' . $result], $opts ); }); } }