package
0.8.0
Repository: https://github.com/kyodo-tech/orchid.git
Documentation: pkg.go.dev

# README

Parallel Workflows

This example uses two parallel child workflows to demonstrate paralleism.

Print: parent workflow start
Starting child workflow '900eef73-57c1-4891-a95b-b619f0e7f86d'
Activity message: Hello from co2 (1), received: Child workflow '900eef73-57c1-4891-a95b-b619f0e7f86d' says hello, got input: parent workflow start
Starting child workflow '3958c882-f98b-4458-8809-237810aaed28'
Activity message: Hello from co2 (2), received: Hello from co2 (1)
Activity message: Hello from co1, received: Child workflow '3958c882-f98b-4458-8809-237810aaed28' says hello, got input: parent workflow start
Workflow completed with output: Hello from co1Hello from co2 (2)

Uncomment the demo exports section to generate the diagram.

flowchart TD
    Start[Start]
    WaitAndMerge[WaitAndMerge]
    StartCw1[StartCw1]
    StartCw2[StartCw2]
    Start --> StartCw1_PrintActivity
    subgraph StartCw1
        StartCw1_PrintActivity[PrintActivity]
    end
    Start --> StartCw2_ChildStep1
    subgraph StartCw2
        StartCw2_ChildStep1[ChildStep1]
        StartCw2_ChildStep2[ChildStep2]
        StartCw2_ChildStep1 --> StartCw2_ChildStep2
    end
    StartCw1_PrintActivity --> WaitAndMerge
    StartCw2_ChildStep2 --> WaitAndMerge

class Start startNode
class StartCw1 parallelNode
class StartCw2 parallelNode
class StartCw1_PrintActivity startNode
class StartCw2_ChildStep1 startNode

classDef startNode fill:#9f6,stroke:#333,stroke-width:4px;
classDef parallelNode fill:#6cf,stroke:#333,stroke-width:2px;

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author