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
Copy file name to clipboardExpand all lines: daprdocs/content/en/java-sdk-docs/java-workflow/java-workflow-howto.md
-5Lines changed: 0 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,11 +6,6 @@ weight: 20000
6
6
description: How to get up and running with workflows using the Dapr Java SDK
7
7
---
8
8
9
-
{{% alert title="Note" color="primary" %}}
10
-
Dapr Workflow is currently in beta. [See known limitations for {{% dapr-latest-version cli="true" %}}]({{< ref "workflow-overview.md#limitations" >}}).
11
-
{{% /alert %}}
12
-
13
-
14
9
Let’s create a Dapr workflow and invoke it using the console. With the [provided workflow example](https://github.com/dapr/java-sdk/tree/master/examples/src/main/java/io/dapr/examples/workflows), you will:
15
10
16
11
- Execute the workflow instance using the [Java workflow worker](https://github.com/dapr/java-sdk/blob/master/examples/src/main/java/io/dapr/examples/workflows/DemoWorkflowWorker.java)
that completes when the activity completes.If the activity completes successfully, the returned <code>Task</code>'s
139
139
value will be the activity's output.</div>
140
140
</dd>
141
-
<dt><ahref="io/dapr/workflows/WorkflowContext.html#callSubWorkflow(java.lang.String)" class="member-name-link">callSubWorkflow(String)</a> - Method in interface io.dapr.workflows.<ahref="io/dapr/workflows/WorkflowContext.html" title="interface in io.dapr.workflows">WorkflowContext</a></dt>
141
+
<dt><ahref="io/dapr/workflows/WorkflowContext.html#callChildWorkflow(java.lang.String)" class="member-name-link">callChildWorkflow(String)</a> - Method in interface io.dapr.workflows.<ahref="io/dapr/workflows/WorkflowContext.html" title="interface in io.dapr.workflows">WorkflowContext</a></dt>
142
142
<dd>
143
-
<divclass="block">Asynchronously invokes another workflow as a sub-workflow and returns a <code>Task</code> that completes
144
-
when the sub-workflow completes.</div>
143
+
<divclass="block">Asynchronously invokes another workflow as a child-workflow and returns a <code>Task</code> that completes
144
+
when the child-workflow completes.</div>
145
145
</dd>
146
-
<dt><ahref="io/dapr/workflows/WorkflowContext.html#callSubWorkflow(java.lang.String,java.lang.Object)" class="member-name-link">callSubWorkflow(String, Object)</a> - Method in interface io.dapr.workflows.<ahref="io/dapr/workflows/WorkflowContext.html" title="interface in io.dapr.workflows">WorkflowContext</a></dt>
146
+
<dt><ahref="io/dapr/workflows/WorkflowContext.html#callChildWorkflow(java.lang.String,java.lang.Object)" class="member-name-link">callChildWorkflow(String, Object)</a> - Method in interface io.dapr.workflows.<ahref="io/dapr/workflows/WorkflowContext.html" title="interface in io.dapr.workflows">WorkflowContext</a></dt>
147
147
<dd>
148
-
<divclass="block">Asynchronously invokes another workflow as a sub-workflow and returns a <code>Task</code> that completes
149
-
when the sub-workflow completes.</div>
148
+
<divclass="block">Asynchronously invokes another workflow as a child-workflow and returns a <code>Task</code> that completes
149
+
when the child-workflow completes.</div>
150
150
</dd>
151
-
<dt><ahref="io/dapr/workflows/WorkflowContext.html#callSubWorkflow(java.lang.String,java.lang.Object,java.lang.Class)" class="member-name-link">callSubWorkflow(String, Object, Class<V>)</a> - Method in interface io.dapr.workflows.<ahref="io/dapr/workflows/WorkflowContext.html" title="interface in io.dapr.workflows">WorkflowContext</a></dt>
151
+
<dt><ahref="io/dapr/workflows/WorkflowContext.html#callChildWorkflow(java.lang.String,java.lang.Object,java.lang.Class)" class="member-name-link">callChildWorkflow(String, Object, Class<V>)</a> - Method in interface io.dapr.workflows.<ahref="io/dapr/workflows/WorkflowContext.html" title="interface in io.dapr.workflows">WorkflowContext</a></dt>
152
152
<dd>
153
-
<divclass="block">Asynchronously invokes another workflow as a sub-workflow and returns a <code>Task</code> that completes
154
-
when the sub-workflow completes.</div>
153
+
<divclass="block">Asynchronously invokes another workflow as a child-workflow and returns a <code>Task</code> that completes
154
+
when the child-workflow completes.</div>
155
155
</dd>
156
-
<dt><ahref="io/dapr/workflows/WorkflowContext.html#callSubWorkflow(java.lang.String,java.lang.Object,java.lang.String,com.microsoft.durabletask.TaskOptions)" class="member-name-link">callSubWorkflow(String, Object, String, TaskOptions)</a> - Method in interface io.dapr.workflows.<ahref="io/dapr/workflows/WorkflowContext.html" title="interface in io.dapr.workflows">WorkflowContext</a></dt>
156
+
<dt><ahref="io/dapr/workflows/WorkflowContext.html#callChildWorkflow(java.lang.String,java.lang.Object,java.lang.String,com.microsoft.durabletask.TaskOptions)" class="member-name-link">callChildWorkflow(String, Object, String, TaskOptions)</a> - Method in interface io.dapr.workflows.<ahref="io/dapr/workflows/WorkflowContext.html" title="interface in io.dapr.workflows">WorkflowContext</a></dt>
157
157
<dd>
158
-
<divclass="block">Asynchronously invokes another workflow as a sub-workflow and returns a <code>Task</code> that completes
159
-
when the sub-workflow completes.</div>
158
+
<divclass="block">Asynchronously invokes another workflow as a child-workflow and returns a <code>Task</code> that completes
159
+
when the child-workflow completes.</div>
160
160
</dd>
161
-
<dt><ahref="io/dapr/workflows/DaprWorkflowContextImpl.html#callSubWorkflow(java.lang.String,java.lang.Object,java.lang.String,com.microsoft.durabletask.TaskOptions,java.lang.Class)" class="member-name-link">callSubWorkflow(String, Object, String, TaskOptions, Class<V>)</a> - Method in class io.dapr.workflows.<ahref="io/dapr/workflows/DaprWorkflowContextImpl.html" title="class in io.dapr.workflows">DaprWorkflowContextImpl</a></dt>
161
+
<dt><ahref="io/dapr/workflows/DaprWorkflowContextImpl.html#callChildWorkflow(java.lang.String,java.lang.Object,java.lang.String,com.microsoft.durabletask.TaskOptions,java.lang.Class)" class="member-name-link">callChildWorkflow(String, Object, String, TaskOptions, Class<V>)</a> - Method in class io.dapr.workflows.<ahref="io/dapr/workflows/DaprWorkflowContextImpl.html" title="class in io.dapr.workflows">DaprWorkflowContextImpl</a></dt>
162
162
<dd>
163
-
<divclass="block">Asynchronously invokes another workflow as a sub-workflow and returns a <code>Task</code> that completes
164
-
when the sub-workflow completes.</div>
163
+
<divclass="block">Asynchronously invokes another workflow as a child-workflow and returns a <code>Task</code> that completes
164
+
when the child-workflow completes.</div>
165
165
</dd>
166
-
<dt><ahref="io/dapr/workflows/WorkflowContext.html#callSubWorkflow(java.lang.String,java.lang.Object,java.lang.String,com.microsoft.durabletask.TaskOptions,java.lang.Class)" class="member-name-link">callSubWorkflow(String, Object, String, TaskOptions, Class<V>)</a> - Method in interface io.dapr.workflows.<ahref="io/dapr/workflows/WorkflowContext.html" title="interface in io.dapr.workflows">WorkflowContext</a></dt>
166
+
<dt><ahref="io/dapr/workflows/WorkflowContext.html#callChildWorkflow(java.lang.String,java.lang.Object,java.lang.String,com.microsoft.durabletask.TaskOptions,java.lang.Class)" class="member-name-link">callChildWorkflow(String, Object, String, TaskOptions, Class<V>)</a> - Method in interface io.dapr.workflows.<ahref="io/dapr/workflows/WorkflowContext.html" title="interface in io.dapr.workflows">WorkflowContext</a></dt>
167
167
<dd>
168
-
<divclass="block">Asynchronously invokes another workflow as a sub-workflow and returns a <code>Task</code> that completes
169
-
when the sub-workflow completes.</div>
168
+
<divclass="block">Asynchronously invokes another workflow as a child-workflow and returns a <code>Task</code> that completes
169
+
when the child-workflow completes.</div>
170
170
</dd>
171
-
<dt><ahref="io/dapr/workflows/WorkflowContext.html#callSubWorkflow(java.lang.String,java.lang.Object,java.lang.String,java.lang.Class)" class="member-name-link">callSubWorkflow(String, Object, String, Class<V>)</a> - Method in interface io.dapr.workflows.<ahref="io/dapr/workflows/WorkflowContext.html" title="interface in io.dapr.workflows">WorkflowContext</a></dt>
171
+
<dt><ahref="io/dapr/workflows/WorkflowContext.html#callChildWorkflow(java.lang.String,java.lang.Object,java.lang.String,java.lang.Class)" class="member-name-link">callChildWorkflow(String, Object, String, Class<V>)</a> - Method in interface io.dapr.workflows.<ahref="io/dapr/workflows/WorkflowContext.html" title="interface in io.dapr.workflows">WorkflowContext</a></dt>
172
172
<dd>
173
-
<divclass="block">Asynchronously invokes another workflow as a sub-workflow and returns a <code>Task</code> that completes
174
-
when the sub-workflow completes.</div>
173
+
<divclass="block">Asynchronously invokes another workflow as a child-workflow and returns a <code>Task</code> that completes
174
+
when the child-workflow completes.</div>
175
175
</dd>
176
176
<dt><ahref="io/dapr/workflows/runtime/WorkflowRuntimeStatus.html#CANCELED" class="member-name-link">CANCELED</a> - Enum constant in enum class io.dapr.workflows.runtime.<ahref="io/dapr/workflows/runtime/WorkflowRuntimeStatus.html" title="enum class in io.dapr.workflows.runtime">WorkflowRuntimeStatus</a></dt>
0 commit comments