Skip to content

Commit e8d9394

Browse files
committed
Update documentation
Signed-off-by: Matheus Cruz <[email protected]>
1 parent 210643b commit e8d9394

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

daprdocs/content/en/java-sdk-docs/java-workflow/java-workflow-howto.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,8 @@ public class DemoWorkflowClient {
145145
}
146146

147147
System.out.println(separatorStr);
148-
System.out.println("**purgeInstance**");
149-
boolean purgeResult = client.purgeInstance(instanceId);
148+
System.out.println("**purgeWorkflow**");
149+
boolean purgeResult = client.purgeWorkflow(instanceId);
150150
System.out.printf("purgeResult: %s%n", purgeResult);
151151

152152
System.out.println(separatorStr);
@@ -202,7 +202,7 @@ Started new workflow instance with random ID: 0b4cc0d5-413a-4c1c-816a-a71fa24740
202202
**GetInstanceMetadata:Running Workflow**
203203
Result: [Name: 'io.dapr.examples.workflows.DemoWorkflow', ID: '0b4cc0d5-413a-4c1c-816a-a71fa24740d4', RuntimeStatus: RUNNING, CreatedAt: 2023-09-13T13:02:30.547Z, LastUpdatedAt: 2023-09-13T13:02:30.699Z, Input: '"input data"', Output: '']
204204
*******
205-
**WaitForInstanceStart**
205+
**WaitForWorkflowStart**
206206
Result: [Name: 'io.dapr.examples.workflows.DemoWorkflow', ID: '0b4cc0d5-413a-4c1c-816a-a71fa24740d4', RuntimeStatus: RUNNING, CreatedAt: 2023-09-13T13:02:30.547Z, LastUpdatedAt: 2023-09-13T13:02:30.699Z, Input: '"input data"', Output: '']
207207
*******
208208
**SendExternalMessage**
@@ -216,7 +216,7 @@ Event raised for workflow with instanceId: 0b4cc0d5-413a-4c1c-816a-a71fa24740d4
216216
**WaitForWorkflowCompletion**
217217
Result: [Name: 'io.dapr.examples.workflows.DemoWorkflow', ID: '0b4cc0d5-413a-4c1c-816a-a71fa24740d4', RuntimeStatus: FAILED, CreatedAt: 2023-09-13T13:02:30.547Z, LastUpdatedAt: 2023-09-13T13:02:55.054Z, Input: '"input data"', Output: '']
218218
*******
219-
**purgeInstance**
219+
**purgeWorkflow**
220220
purgeResult: true
221221
*******
222222
**raiseEvent**

0 commit comments

Comments
 (0)