Skip to content
This repository was archived by the owner on Dec 13, 2023. It is now read-only.
This repository was archived by the owner on Dec 13, 2023. It is now read-only.

Nested Decision Task in Fork-Join Task,conductor cannot run the task after the decision task #644

Description

@dechykong

conductor cannot run the task(API6) after the decision task(API4)。

Nested Decision Task  in Fork-Join Task

I'm confuse that whether the conductor support the workflow definition like this.
here's the workflow json:

{
    "updateTime":1531196677024,
    "name":"test-joinAndDecision",
    "description":"test-joinAndDecision",
    "version":0,
    "tasks":[
        {
            "name":"task_0",
            "taskReferenceName":"fork_join",
            "type":"FORK_JOIN",
            "forkTasks":[
                [
                    {
                        "name":"task_1",
                        "taskReferenceName":"API1",
                        "inputParameters":{
                          
                        },
                        "type":"HTTP",
                        "startDelay":0
                    },
                    {
                        "name":"task_3",
                        "taskReferenceName":"decision",
                        "inputParameters":{
                            "case_value_param":"four"
                        },
                        "type":"DECISION",
                        "caseValueParam":"case_value_param",
                        "decisionCases":{
                            "four":[
                                {
                                    "name":"task_4",
                                    "taskReferenceName":"API4",
                                    "inputParameters":{                                      
                                    },
                                    "type":"HTTP",
                                    "startDelay":0
                                }
                            ],
                            "five":[
                                {
                                    "name":"task_5",
                                    "taskReferenceName":"API5",
                                    "inputParameters":{
                                        
                                    },
                                    "type":"HTTP",
                                    "startDelay":0
                                }
                            ]
                        },
                        "startDelay":0
                    },
                    {
                        "name":"task_8",
                        "taskReferenceName":"API6",
                        "type":"EVENT",
                        "startDelay":0,
                        "sink":"conductor"
                    }
                ],
                [
                    {
                        "name":"task_2",
                        "taskReferenceName":"API2",
                        "inputParameters":{
                            
                        },
                        "type":"HTTP",
                        "startDelay":0
                    }
                ]
            ],
            "startDelay":0
        },
        {
            "name":"task_7",
            "taskReferenceName":"join",
            "type":"JOIN",
            "startDelay":0,
            "joinOn":[
                "API6",
                "API2"
            ]
        }
    ],
    "schemaVersion":2
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions