You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/features/child-workflows.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -122,7 +122,7 @@ class ParentWorkflow extends Workflow
122
122
}
123
123
```
124
124
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.
126
126
127
127
### Getting Child Workflow IDs
128
128
@@ -172,7 +172,7 @@ class ParentWorkflow extends Workflow
172
172
}
173
173
```
174
174
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.
176
176
177
177
Then you can interact with the child workflow directly.
0 commit comments