You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- **Cross-namespace calls are not supported** - all applications must be in the **same namespace**
1394
-
- **Only activity calls are supported in Java SDK** - Cross-app workflow activity calls are currently only available in the Java SDK. Suborchestrator calls are not supported yet. Other SDKs (Python, .NET, JavaScript, Go) do not support any cross-app features at this time.
1394
+
- **Only activity calls are supported in Java SDK** - Cross-app workflow activity calls are currently only available in the Java SDK. Child workflow calls are not supported yet. Other SDKs (Python, .NET, JavaScript, Go) do not support any cross-app features at this time.
Cross-app workflows are ideal for the following scenarios:
1408
1408
1409
1409
#### Shared activity pools
1410
1410
1411
-
One of the main use cases is creating shared pools of workflow activities and suborchestrators that can be:
1411
+
One of the main use cases is creating shared pools of workflow activities and child workflows that can be:
1412
1412
- Called from multiple workflow orchestrators running in different applications
1413
1413
- Scaled independently based on demand for different business functions
1414
1414
- Owned and maintained by different teams
@@ -1423,11 +1423,11 @@ Cross-app workflows enable different teams to own different parts of a larger bu
1423
1423
- **Team C** owns inventory activities
1424
1424
- **Team D** owns shipping activities
1425
1425
1426
-
Each team can deploy, scale, and maintain their workflows and activities independently while participating in larger orchestrated workflows.
1426
+
Each team can deploy, scale, and maintain their applications containing workflows and activities independently while participating in larger orchestrated workflows.
1427
1427
1428
1428
### Error handling
1429
1429
1430
-
When calling cross-app suborchestrators or activities:
1430
+
When calling cross-app activities or child workflows:
1431
1431
- If the target application does not exist, the call will be retried using the provided retry policy
1432
1432
- If the target application exists but doesn't contain the specified activity or workflow, the call will return an error
1433
1433
- Standard workflow retry policies apply to cross-app calls
@@ -1457,15 +1457,14 @@ public class MyWorkflow implements Workflow {
1457
1457
1458
1458
```
1459
1459
1460
-
### Cross-app suborchestrator calls
1460
+
### Cross-app child workflow calls
1461
1461
1462
-
You can call suborchestrators hosted in different Dapr applications by providing the App ID when calling the suborchestrator.
1462
+
You can call child workflows hosted in different Dapr applications by providing the App ID when calling the child workflow.
Cross-app suborchestrator calls are not supported yet in any SDK. This functionality is planned for future releases.
1465
+
Cross-app child workflow calls are not supported yet in any SDK. This functionality is planned for future releases.
1466
1466
{{%/alert %}}
1467
1467
1468
-
1469
1468
## Compensation
1470
1469
1471
1470
The compensation pattern (also known as the saga pattern) provides a mechanism for rolling back or undoing operations that have already been executed when a workflow fails partway through. This pattern is particularly important for long-running workflows that span multiple microservices where traditional database transactions are not feasible.
@@ -1509,58 +1508,58 @@ The following diagram illustrates this flow.
1509
1508
1510
1509
```java
1511
1510
public class PaymentProcessingWorkflow implements Workflow {
0 commit comments