Skip to content

call_child_workflow breaks due to orchestrator name being lost #615

Description

@bkc

Using dapr-ext-workflow version 0.2.0

Expected Behavior

This code should execute the designated workflow:

raw_download_result = yield ctx.call_child_workflow(
            workflow=files_com_wf.files_com_download_file_wf,
            input=path,
            instance_id=None,
 )

Actual Behavior

An exception is raised

== APP ==   File "/workspaces/wms-integration/wms_integration/dapr/workflows/combined_order_flow.py", line 28, in dl_and_import_order_file_wf
== APP ==     raw_download_result = yield ctx.call_child_workflow(
== APP ==                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
== APP == durabletask.task.TaskFailedError: Sub-orchestration task #1 failed: A 'wf' orchestrator was not registered.
== APP == 2023-10-11 20:37:41.667 durabletask-worker INFO: b42571ae3e5e49f7a66b1445832a5345: Orchestration completed with status: FAILED

Steps to Reproduce the Problem

Try to call a child workflow whose function name is not wf

Release Note

RELEASE NOTE: FIX Bug in runtime.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions