(def *WorkflowDefinition, nodeID string)
| 596 | } |
| 597 | |
| 598 | func (c *CoordinatorActor) findNode(def *WorkflowDefinition, nodeID string) *NodeDef { |
| 599 | for _, node := range def.Nodes { |
| 600 | if node.ID == nodeID { |
| 601 | return &node |
| 602 | } |
| 603 | } |
| 604 | return nil |
| 605 | } |
| 606 | |
| 607 | func (c *CoordinatorActor) findNextNodes(execution *WorkflowExecution, currentNodes []string) []string { |
| 608 | var nextNodes []string |