Skip to content

Commit

Permalink
Merge pull request #619 from wockerman/patch-1
Browse files Browse the repository at this point in the history
Update sub-workflow.md
  • Loading branch information
RizaFarheen authored Jun 25, 2024
2 parents a5a7b2e + 299de82 commit 0e56ff2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/reference-docs/operators/sub-workflow.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Sub Workflow allows executing another workflow from within the current workflow.

| Attribute | Description |
| ---------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| subWorkflowParam | It includes the parameters name, version, & taskToDomain. <ul><li>**name** - You need to map this field with the name of the workflow you are planning to execute.</li><li>**version** - Include the version of the workflow to be executed.</li><li>**[taskToDomain](/content/developer-guides/task-to-domain)** - Allows scheduling the sub-workflow tasks per given mappings.</li></ul> |
| subWorkflowParam | It includes the parameters name, version, & taskToDomain. <ul><li>**name** - You need to map this field with the name of the workflow you are planning to execute.</li><li>**version** - Include the version of the workflow to be executed.</li><li>**[taskToDomain](/content/developer-guides/task-to-domain)** - Allows scheduling the sub-workflow tasks per given mappings. If not given, the taskToDomain of the executing parent workflow is taken over.</li></ul> |
| inputParameters | The sub-workflow’s input can be coupled to the workflow’s input parameters, or it can be invoked from the output of the preceding task. For example, if you are taking the sub-workflow’s input parameter from the workflow, then you need to initially add this as an input parameter in the parent workflow (workflow to be called as the sub-workflow). Then you can call the same input parameter inside the sub-workflow definition. |

### Output Parameters
Expand Down Expand Up @@ -131,4 +131,4 @@ You can use the following API to retry a sub-workflow from a specific task. From
"reRunFromTaskId": "<task_execution_id>"
}' \
-H 'x-authorization: <auth_token>'
```
```

0 comments on commit 0e56ff2

Please sign in to comment.