Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,12 @@ Finally, the target app ID must have the activity or child workflow defined and
{{% /alert %}}

{{% alert title="Important Limitations" color="warning" %}}
**SDKs supporting multi-application workflows** - Multi-application workflows are used via the SDKs.
**SDKs supporting multi-application workflows** - Multi-application workflows are used via the SDKs.
Currently the following are supported:
- **Java** (**only** activity calls)
- **Go** (**both** activities and child workflows calls)
- The Python, .NET, JavaScript SDKs support are planned for future releases
- **Go** (**both** activities and child workflows calls)
- **Python** (**both** activities and child workflows calls)
- The .NET and JavaScript SDKs support are planned for future releases
{{% /alert %}}

## Error handling
Expand Down Expand Up @@ -139,6 +140,17 @@ public class BusinessWorkflow implements Workflow {

{{% /tab %}}

{{% tab "Python" %}}

```python
@wfr.workflow
def app1_workflow(ctx: wf.DaprWorkflowContext):
output = yield ctx.call_activity('ActivityA', input='my-input', app_id='App2')
return output
```

{{% /tab %}}

{{< /tabpane >}}

## Multi-application child workflow example
Expand Down Expand Up @@ -169,6 +181,17 @@ func BusinessWorkflow(ctx *workflow.WorkflowContext) (any, error) {

{{% /tab %}}

{{% tab "Python" %}}

```python
@wfr.workflow
def workflow1(ctx: wf.DaprWorkflowContext):
output = yield ctx.call_child_workflow(workflow='Workflow2', input='my-input', app_id='App2')
return output
```

{{% /tab %}}

{{< /tabpane >}}

## Related links
Expand Down
Loading