We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be7b641 commit 3bfeed3Copy full SHA for 3bfeed3
serverlessworkflow/sdk/state_machine_generator.py
@@ -182,12 +182,14 @@ def parallel_state_details(self):
182
branches = self.state.branches
183
if branches:
184
if self.get_actions:
185
+ self.state_machine.get_state(state_name).initial = []
186
for branch in branches:
187
if hasattr(branch, "actions") and branch.actions:
188
branch_name = branch.name
189
self.state_machine.get_state(state_name).add_substates(
190
NestedState(branch_name)
191
)
192
+ self.state_machine.get_state(state_name).initial.append(branch_name)
193
branch_state = self.state_machine.get_state(
194
state_name
195
).states[branch.name]
0 commit comments