Skip to content

Commit f87c54d

Browse files
authored
Emphasize important guidelines in child-workflows.md
1 parent 7ca32b1 commit f87c54d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/features/child-workflows.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ class ParentWorkflow extends Workflow
122122
}
123123
```
124124

125-
Always call `$this->child()` or `$this->children()` in the `execute()` method. Never call these methods in signal methods or query methods, as this violates determinism during workflow replay.
125+
**Important:** Always call `$this->child()` or `$this->children()` in the `execute()` method. Never call these methods in signal methods or query methods, as this violates determinism during workflow replay.
126126

127127
### Getting Child Workflow IDs
128128

@@ -172,7 +172,7 @@ class ParentWorkflow extends Workflow
172172
}
173173
```
174174

175-
NOTE: When using query methods in the same workflow with child handles, you must first await for the child handle to be available in order to make it replay safe.
175+
**Important:** When using query methods in the same workflow with child handles, you must first await for the child handle to be available in order to make it replay safe.
176176

177177
Then you can interact with the child workflow directly.
178178

0 commit comments

Comments
 (0)