<#1890 Enable remote workflow to be invoked in con...
# flyte-github
a
#1890 Enable remote workflow to be invoked in conditional branch Pull request opened by ysysys3074 TL;DR When invoking
reference_launch_plan
in flytekit conditional branch, it will fails at compile time with KeyError(root reason is a variable storing all the launch_plan does not inspect branch so it's empty and no key), this PR fix this issue to inspect all the launch_plan from all the branches including nested branches. Fixes flyteorg/flyte#4184 Type ☑︎ Bug Fix ☑︎ Feature ☐ Plugin Are all requirements met? ☑︎ Code completed ☐ Smoke tested ☑︎ Unit tests added ☑︎ E2E test done ☐ Code documentation added ☐ Any pending items have an associated Issue unit test added and all passed:

Screenshot 2023-10-12 at 10 06 31 AM▾

Complete description How did you fix the bug, make the feature etc. Link to any design docs etc Tracking Issue https://github.com/flyteorg/flyte/issues/ Follow-up issue NA OR https://github.com/flyteorg/flyte/issues/ flyteorg/flytekit ✅ All checks have passed 2/2 successful checks